SVN commit 797540 by raggi: use initializeGuiState() M +2 -5 debuggerplugin.cpp M +1 -1 debuggerplugin.h --- trunk/KDE/kdevelop/languages/cpp/debugger/debuggerplugin.cpp #797539:797540 @@ -370,12 +370,9 @@ } -void CppDebuggerPlugin::guiClientAdded( KXMLGUIClient* client ) +void CppDebuggerPlugin::initializeGuiState() { - // Can't change state until after XMLGUI has been loaded... - - if( client == this ) - stateChanged("stopped"); + stateChanged("stopped"); } void CppDebuggerPlugin::contextMenu(QMenu *popup, const KDevelop::Context *context) --- trunk/KDE/kdevelop/languages/cpp/debugger/debuggerplugin.h #797539:797540 @@ -155,7 +155,7 @@ void jumpTo(const KUrl& url, int line); protected: - virtual void guiClientAdded(KXMLGUIClient *); + virtual void initializeGuiState(); private: KConfigGroup config() const;