Commit c6206249 authored by hjk's avatar hjk
Browse files

debugger: fix breakpoint setting using context menu

parent 6982f8b1
...@@ -1215,7 +1215,7 @@ void DebuggerPlugin::breakpointSetRemoveMarginActionTriggered() ...@@ -1215,7 +1215,7 @@ void DebuggerPlugin::breakpointSetRemoveMarginActionTriggered()
QTC_ASSERT(handler, return); QTC_ASSERT(handler, return);
QString str = act->data().toString(); QString str = act->data().toString();
int pos = str.lastIndexOf(':'); int pos = str.lastIndexOf(':');
toggleBreakpoint(str, pos); toggleBreakpoint(str.left(pos), str.mid(pos + 1).toInt());
} }
void DebuggerPlugin::breakpointEnableDisableMarginActionTriggered() void DebuggerPlugin::breakpointEnableDisableMarginActionTriggered()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment