[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdevelop/languages/cpp/debugger
From:       Roberto Raggi <roberto () kdevelop ! org>
Date:       2008-04-16 10:20:45
Message-ID: 1208341245.889063.25014.nullmailer () svn ! kde ! org
[Download RAW message or body]

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;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic