debugger: make QAction a base class of DebuggerAction

This commit is contained in:
hjk
2009-03-19 15:54:52 +01:00
parent 5999c35d2c
commit c110da750b
8 changed files with 35 additions and 58 deletions

View File

@@ -185,10 +185,10 @@ void WatchWindow::contextMenuEvent(QContextMenuEvent *ev)
//menu.addAction(act3);
menu.addSeparator();
menu.addAction(theDebuggerAction(RecheckDumpers)->action());
menu.addAction(theDebuggerAction(UseDumpers)->action());
menu.addAction(theDebuggerAction(RecheckDumpers));
menu.addAction(theDebuggerAction(UseDumpers));
menu.addSeparator();
menu.addAction(theDebuggerAction(SettingsDialog)->action());
menu.addAction(theDebuggerAction(SettingsDialog));
QAction *act = menu.exec(ev->globalPos());