diff options
author | hjk <[email protected]> | 2009-06-12 12:57:22 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2009-06-12 12:57:22 +0200 |
commit | b052ce2c2139348b498e241fcedbcecf48a74811 (patch) | |
tree | 1133ecc35d88351f853a6402231253d3e3ae8862 /src/plugins/debugger/breakwindow.cpp | |
parent | 94b1b1fd7b58ed365698917b8fecf5071669daa1 (diff) |
debugger: add a 'break at main' checkbox in the 'start and debug external' dialog
Diffstat (limited to 'src/plugins/debugger/breakwindow.cpp')
-rw-r--r-- | src/plugins/debugger/breakwindow.cpp | 9 |
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) |