aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/breakwindow.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2009-11-13 10:55:50 +0100
committerhjk <[email protected]>2009-11-13 10:55:50 +0100
commit4eea61c47fe98dce403d8b22fa3a0e3fb43509e1 (patch)
tree795ac46464cbcc3d71b6d2303499293f80d5103f /src/plugins/debugger/breakwindow.cpp
parent805c728a29d596c0470b4a60ad19057e6b15b3fe (diff)
debugger: fix breakpoihnt deletion by using the context menu action
Diffstat (limited to 'src/plugins/debugger/breakwindow.cpp')
-rw-r--r--src/plugins/debugger/breakwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/breakwindow.cpp b/src/plugins/debugger/breakwindow.cpp
index b0edd855459..1e499f9a392 100644
--- a/src/plugins/debugger/breakwindow.cpp
+++ b/src/plugins/debugger/breakwindow.cpp
@@ -280,7 +280,7 @@ void BreakWindow::deleteBreakpoints(QList<int> list)
const int firstRow = list.front();
qSort(list.begin(), list.end());
for (int i = list.size(); --i >= 0; )
- emit breakpointDeleted(i);
+ emit breakpointDeleted(list.at(i));
const int row = qMax(firstRow, model()->rowCount() - list.size() - 1);
if (row >= 0)