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

List:       kde-commits
Subject:    KDE/kdevelop/languages/cpp/debugger
From:       Vladimir Prus <ghost () cs ! msu ! su>
Date:       2008-11-15 18:30:25
Message-ID: 1226773825.374615.23331.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 884745 by vprus:

Make the breakpoint widget not have a toolbar.


 M  +8 -1      debuggerplugin.cpp  


--- trunk/KDE/kdevelop/languages/cpp/debugger/debuggerplugin.cpp #884744:884745
@@ -119,7 +119,14 @@
       if (view->widget()->metaObject()->indexOfSignal(SIGNAL(requestRaise())) != -1)
           QObject::connect(view->widget(), SIGNAL(requestRaise()), view, SLOT(requestRaise()));
   }
-
+  
+  /* At present, some debugger widgets (e.g. breakpoint) contain actions so that shortcuts
+     work, but they don't need any toolbar.  So, suppress toolbar action.  */
+  virtual QList<QAction*> toolBarActions( QWidget* viewWidget ) const
+  {
+      return QList<QAction*>();
+  }
+  
 private:
   CppDebuggerPlugin* m_plugin;
   GDBController* m_controller;
[prev in list] [next in list] [prev in thread] [next in thread] 

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