diff --git a/src/plugins/debugger/breakwindow.cpp b/src/plugins/debugger/breakwindow.cpp index b0edd855459329dff239e5680bcb6e0f5392b3e6..1e499f9a3923d4d04719ce9397148197fcdbf262 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)