Debugger: Fix placing of finished message

This message had been displayed on the Application Output pane before.
Restore this behavior which broke with 597488be.

Change-Id: I29dcae877f2f19bce05e0ec1f32274b1e7cca25f
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2017-10-20 09:49:36 +02:00
parent ae34bde4fa
commit a1b486011a

View File

@@ -238,7 +238,6 @@ public:
m_engine->setState(DebuggerFinished); m_engine->setState(DebuggerFinished);
resetLocation(); resetLocation();
if (isMasterEngine()) { if (isMasterEngine()) {
showMessage(tr("Debugging has finished"), NormalMessageFormat);
if (m_runTool) { if (m_runTool) {
m_progress.setProgressValue(1000); m_progress.setProgressValue(1000);
m_progress.reportFinished(); m_progress.reportFinished();
@@ -248,6 +247,7 @@ public:
m_watchHandler.cleanup(); m_watchHandler.cleanup();
Internal::runControlFinished(m_runTool); Internal::runControlFinished(m_runTool);
m_runTool->reportStopped(); m_runTool->reportStopped();
m_runTool->appendMessage(tr("Debugging has finished"), NormalMessageFormat);
m_runTool.clear(); m_runTool.clear();
} }
} }