debugger: find better separation between runcontrol and engine

This commit is contained in:
hjk
2010-12-10 10:01:29 +01:00
parent 18986b8ccb
commit 91e6c14ff9
7 changed files with 34 additions and 62 deletions

View File

@@ -656,7 +656,7 @@ void DebuggerRunControl::start()
return;
}
debuggerCore()->runControlStarted(this);
debuggerCore()->runControlStarted(engine());
// We might get a synchronous startFailed() notification on Windows,
// when launching the process fails. Emit a proper finished() sequence.
@@ -684,7 +684,7 @@ void DebuggerRunControl::handleFinished()
emit addToOutputWindowInline(this, tr("Debugging has finished"), false);
if (engine())
engine()->handleFinished();
debuggerCore()->runControlFinished(this);
debuggerCore()->runControlFinished(engine());
}
void DebuggerRunControl::showMessage(const QString &msg, int channel)