QmlProfiler: Remove unused method

Task-number: QTCREATORBUG-29168
Change-Id: I4ab8b33fefcfd55cf4e56118311e9cac0d274862
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Jarek Kobus
2024-11-18 13:47:39 +01:00
parent 10685ae911
commit 9dac95882f
2 changed files with 0 additions and 20 deletions

View File

@@ -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() void QmlProfilerRunner::cancelProcess()
{ {
QTC_ASSERT(d->m_profilerState, return); QTC_ASSERT(d->m_profilerState, return);

View File

@@ -25,9 +25,7 @@ public:
~QmlProfilerRunner() override; ~QmlProfilerRunner() override;
void registerProfilerStateManager( QmlProfilerStateManager *profilerState ); void registerProfilerStateManager( QmlProfilerStateManager *profilerState );
void cancelProcess(); void cancelProcess();
void notifyRemoteFinished();
private: private:
void start() override; void start() override;