forked from qt-creator/qt-creator
QmlProfiler: Exit if we get an error message
E.g. when we detect that the port is in use, we have to stop the noDebugOutputTimer. Change-Id: Idb3f4b91f78c55ab849e55c908e58abf052c3d00 Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
@@ -275,6 +275,7 @@ void QmlProfilerEngine::finishProcess()
|
||||
if (d->m_running) {
|
||||
d->m_running = false;
|
||||
d->m_runningTimer.stop();
|
||||
d->m_noDebugOutputTimer.stop();
|
||||
if (d->m_runner)
|
||||
d->m_runner->stop();
|
||||
emit finished();
|
||||
@@ -305,11 +306,7 @@ void QmlProfilerEngine::wrongSetupMessageBox(const QString &errorMessage)
|
||||
|
||||
infoBox->show();
|
||||
|
||||
d->m_running = false;
|
||||
d->m_runningTimer.stop();
|
||||
AnalyzerManager::stopTool();
|
||||
emit finished();
|
||||
emit recordingChanged(d->m_fetchDataFromStart);
|
||||
finishProcess();
|
||||
}
|
||||
|
||||
void QmlProfilerEngine::wrongSetupMessageBoxFinished(int button)
|
||||
|
Reference in New Issue
Block a user