debugger: fix breakpoint setting using context menu

This commit is contained in:
hjk
2010-06-11 12:37:31 +02:00
parent 6982f8b157
commit c620624989

View File

@@ -1215,7 +1215,7 @@ void DebuggerPlugin::breakpointSetRemoveMarginActionTriggered()
QTC_ASSERT(handler, return);
QString str = act->data().toString();
int pos = str.lastIndexOf(':');
toggleBreakpoint(str, pos);
toggleBreakpoint(str.left(pos), str.mid(pos + 1).toInt());
}
void DebuggerPlugin::breakpointEnableDisableMarginActionTriggered()