Review Request: Fixes for Core::initialize(NoGui), added LoadNoPlugins flag for testing plugins
Fabian Wiesel
fabian.wiesel at fu-berlin.de
Sun Mar 15 17:46:17 UTC 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/331/
-----------------------------------------------------------
Review request for KDevelop.
Summary
-------
The UIController may not be created, since there is the Core::Setup::NoGUI-flag for testing purposes.
The documentation controller didn't expect this and crashes. This should be fixed with the patch attached.
Also, when testing a plugin, other plugins may rely on the existance of UIController, too.
To avoid complications, I introduced the LoadNoPlugins flag, which disables
the automated loading of plugins by not calling PluginController::initialize().
Diffs
-----
/trunk/KDE/kdevplatform/shell/core.h 939529
/trunk/KDE/kdevplatform/shell/core.cpp 939529
/trunk/KDE/kdevplatform/shell/documentationcontroller.cpp 939529
/trunk/KDE/kdevplatform/shell/documentcontroller.cpp 939529
Diff: http://reviewboard.kde.org/r/331/diff
Testing
-------
Thanks,
Fabian
More information about the KDevelop-devel
mailing list