diff --git a/src/plugins/qmlprofiler/qmlprofilerengine.cpp b/src/plugins/qmlprofiler/qmlprofilerengine.cpp index 991b291dbed..360f470a71e 100644 --- a/src/plugins/qmlprofiler/qmlprofilerengine.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerengine.cpp @@ -113,10 +113,10 @@ bool QmlProfilerRunControl::startEngine() d->m_profilerState->setCurrentState(QmlProfilerStateManager::AppStarting); - if (startParameters().useStartupProject) - d->m_noDebugOutputTimer.start(); - else if (startParameters().analyzerPort != 0) + if (startParameters().analyzerPort != 0) emit processRunning(startParameters().analyzerPort); + else + d->m_noDebugOutputTimer.start(); d->m_profilerState->setCurrentState(QmlProfilerStateManager::AppRunning); engineStarted();