Commit 7a188fe7 authored by hjk's avatar hjk

Debugger: Properly delete breakpoints when triggered from view

If the removal is triggered from the view, the engine needs
to be informed. If it's triggered from the engine, the view
needs to be informed.

Change-Id: I3505130c5b4b0b3752401a94599af9a06662f002
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 067ea9cd
......@@ -781,7 +781,7 @@ void Breakpoint::removeAlienBreakpoint()
void Breakpoint::removeBreakpoint() const
{
b->deleteThis();
b->removeBreakpoint();
}
Breakpoint::Breakpoint(BreakpointItem *b)
......@@ -1020,8 +1020,6 @@ void Breakpoint::notifyBreakpointNeedsReinsertion()
b->m_state = BreakpointInsertRequested;
}
void BreakpointItem::removeBreakpoint()
{
switch (m_state) {
......
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