aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/breakwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/breakwindow.cpp')
-rw-r--r--src/plugins/debugger/breakwindow.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/plugins/debugger/breakwindow.cpp b/src/plugins/debugger/breakwindow.cpp
index 0320bb5de07..624bb4bf75c 100644
--- a/src/plugins/debugger/breakwindow.cpp
+++ b/src/plugins/debugger/breakwindow.cpp
@@ -168,13 +168,8 @@ void BreakWindow::contextMenuEvent(QContextMenuEvent *ev)
BreakByFunctionDialog dlg(this);
if (dlg.exec())
emit breakByFunctionRequested(dlg.functionName());
- } else if (act == act8) {
-#ifdef Q_OS_WIN
- emit breakByFunctionRequested("qMain");
-#else
- emit breakByFunctionRequested("main");
-#endif
- }
+ } else if (act == act8)
+ emit breakByFunctionMainRequested();
}
void BreakWindow::deleteBreakpoint(const QModelIndex &idx)