ios: always write out when a run ends

Currently normal end of an ios run is silent. This looks strange as
the startup writes a string.

Change-Id: I64d082153b11ff6db4d6b1d85bce1da143cf329d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
Fawzi Mohamed
2014-04-07 16:17:12 +02:00
parent a17c231b07
commit 152f9c3646
3 changed files with 14 additions and 7 deletions

View File

@@ -150,9 +150,11 @@ void IosAnalyzeSupport::handleGotInferiorPid(Q_PID pid, int qmlPort)
void IosAnalyzeSupport::handleRemoteProcessFinished(bool cleanEnd)
{
Q_UNUSED(cleanEnd)
if (m_runControl) {
m_runControl->logApplicationMessage(tr("Run ended."), Utils::NormalMessageFormat);
if (!cleanEnd)
m_runControl->logApplicationMessage(tr("Run ended with error."), Utils::ErrorMessageFormat);
else
m_runControl->logApplicationMessage(tr("Run ended."), Utils::NormalMessageFormat);
m_runControl->notifyRemoteFinished();
}
}