QmlProfiler: Stop app if you cannot connect

No reason to let the app running when we've already told the
user that we cannot connect.

Change-Id: I35cd7ec2523af07cb2256aa96d5f3ebb96752ac2
Reviewed-on: http://codereview.qt.nokia.com/3661
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
Kai Koehne
2011-08-26 12:10:40 +02:00
parent 0702e8a3b5
commit f1f1136259

View File

@@ -301,6 +301,10 @@ void QmlProfilerEngine::filterApplicationMessage(const QString &msg)
this, SLOT(wrongSetupMessageBoxFinished(int)));
infoBox->show();
d->m_running = false;
AnalyzerManager::stopTool();
emit finished();
}
} else if (msg.contains(cannotRetrieveDebuggingOutput)) {
// we won't get debugging output, so just try to connect ...