forked from qt-creator/qt-creator
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:
@@ -301,6 +301,10 @@ void QmlProfilerEngine::filterApplicationMessage(const QString &msg)
|
|||||||
this, SLOT(wrongSetupMessageBoxFinished(int)));
|
this, SLOT(wrongSetupMessageBoxFinished(int)));
|
||||||
|
|
||||||
infoBox->show();
|
infoBox->show();
|
||||||
|
|
||||||
|
d->m_running = false;
|
||||||
|
AnalyzerManager::stopTool();
|
||||||
|
emit finished();
|
||||||
}
|
}
|
||||||
} else if (msg.contains(cannotRetrieveDebuggingOutput)) {
|
} else if (msg.contains(cannotRetrieveDebuggingOutput)) {
|
||||||
// we won't get debugging output, so just try to connect ...
|
// we won't get debugging output, so just try to connect ...
|
||||||
|
|||||||
Reference in New Issue
Block a user