aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/breakwindow.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2009-03-18 09:03:47 +0100
committerhjk <[email protected]>2009-03-18 09:03:47 +0100
commitda1492cf28a3a3f3d4ed4828e60ac96fa9cd8886 (patch)
treeff1dde506f4dff0a8a958a597a20d7f1b307f10d /src/plugins/debugger/breakwindow.cpp
parentcc89dcc75b5bda35c9493c33fb1ab21c4b5ae89f (diff)
debugger: start action handling refactoring
Diffstat (limited to 'src/plugins/debugger/breakwindow.cpp')
-rw-r--r--src/plugins/debugger/breakwindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/debugger/breakwindow.cpp b/src/plugins/debugger/breakwindow.cpp
index 91b89f59a7b..1d92e59d39e 100644
--- a/src/plugins/debugger/breakwindow.cpp
+++ b/src/plugins/debugger/breakwindow.cpp
@@ -29,6 +29,7 @@
#include "breakwindow.h"
+#include "debuggeractions.h"
#include "ui_breakcondition.h"
#include <QAction>
@@ -93,7 +94,7 @@ void BreakWindow::contextMenuEvent(QContextMenuEvent *ev)
QAction *act3 = new QAction("Edit condition...", &menu);
act0->setEnabled(index.isValid());
QAction *act4 = new QAction("Syncronize breakpoints", &menu);
- QAction *act5 = new QAction("Debugger properties...", &menu);
+ QAction *act5 = action(SettingsDialog);
menu.addAction(act0);
menu.addAction(act3);
@@ -116,7 +117,7 @@ void BreakWindow::contextMenuEvent(QContextMenuEvent *ev)
else if (act == act4)
emit breakpointSynchronizationRequested();
else if (act == act5)
- emit settingsDialogRequested();
+ act->trigger();
}
void BreakWindow::deleteBreakpoint(const QModelIndex &idx)