forked from qt-creator/qt-creator
QmlProfiler: Don't open 2 error boxes when failing to connect
If we've parsed an error message from the application's stderr we can stop trying to connect. Change-Id: I8d58e5db19de3253681c52be1637cfddfd46a519 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -213,6 +213,7 @@ void QmlProfilerRunControl::wrongSetupMessageBox(const QString &errorMessage)
|
||||
|
||||
// KILL
|
||||
d->m_profilerState->setCurrentState(QmlProfilerStateManager::AppDying);
|
||||
d->m_noDebugOutputTimer.stop();
|
||||
AnalyzerManager::stopTool();
|
||||
emit finished();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user