diff --git a/src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp b/src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp index 9d17fb49797..2f7bfb488ff 100644 --- a/src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp @@ -96,24 +96,6 @@ void QmlProfilerRunner::stop() } } -void QmlProfilerRunner::notifyRemoteFinished() -{ - QTC_ASSERT(d->m_profilerState, return); - - switch (d->m_profilerState->currentState()) { - case QmlProfilerStateManager::AppRunning: - d->m_profilerState->setCurrentState(QmlProfilerStateManager::AppDying); - break; - case QmlProfilerStateManager::Idle: - break; - default: - const QString message = QString::fromLatin1("Process died unexpectedly from state %1 in %2:%3") - .arg(d->m_profilerState->currentStateAsString(), QString::fromLatin1(__FILE__), QString::number(__LINE__)); - qWarning("%s", qPrintable(message)); - break; - } -} - void QmlProfilerRunner::cancelProcess() { QTC_ASSERT(d->m_profilerState, return); diff --git a/src/plugins/qmlprofiler/qmlprofilerruncontrol.h b/src/plugins/qmlprofiler/qmlprofilerruncontrol.h index 8864885ee2f..424d8e1afc4 100644 --- a/src/plugins/qmlprofiler/qmlprofilerruncontrol.h +++ b/src/plugins/qmlprofiler/qmlprofilerruncontrol.h @@ -25,9 +25,7 @@ public: ~QmlProfilerRunner() override; void registerProfilerStateManager( QmlProfilerStateManager *profilerState ); - void cancelProcess(); - void notifyRemoteFinished(); private: void start() override;