Commit d7f6dec9 authored by Ulf Hermann's avatar Ulf Hermann

QmlProfiler: Use correct coding style and remove dead code

Change-Id: I10967ee080076d40cf54aaf4ae28c63d78b7f216
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@theqtcompany.com>
parent d58b714a
......@@ -221,7 +221,7 @@ void QmlProfilerTraceClient::messageReceived(const QByteArray &data)
stream >> id;
engineIds << id;
}
emit this->traceStarted(time, engineIds);
emit traceStarted(time, engineIds);
d->maximumTime = time;
break;
}
......@@ -232,7 +232,7 @@ void QmlProfilerTraceClient::messageReceived(const QByteArray &data)
stream >> id;
engineIds << id;
}
emit this->traceFinished(time, engineIds);
emit traceFinished(time, engineIds);
d->maximumTime = time;
d->maximumTime = qMax(time, d->maximumTime);
break;
......
......@@ -219,7 +219,6 @@ void QmlProfilerClientManager::disconnectClientSignals()
d->modelManager->traceTime(), &QmlProfilerTraceTime::decreaseStartTime);
disconnect(d->qmlclientplugin.data(), &QmlProfilerTraceClient::enabledChanged,
d->qmlclientplugin.data(), &QmlProfilerTraceClient::sendRecordingStatus);
// fixme: this should be unified for both clients
disconnect(d->qmlclientplugin.data(), &QmlProfilerTraceClient::recordingChanged,
d->profilerState, &QmlProfilerStateManager::setServerRecording);
disconnect(d->profilerState, &QmlProfilerStateManager::requestedFeaturesChanged,
......
......@@ -268,7 +268,7 @@ void QmlProfilerRunControl::profilerStateChanged()
}
}
RunControl::StopResult QmlProfiler::QmlProfilerRunControl::stop()
RunControl::StopResult QmlProfilerRunControl::stop()
{
StopResult result = Analyzer::AnalyzerRunControl::stop();
if (d->m_profilerState->currentState() != QmlProfilerStateManager::Idle)
......
......@@ -54,7 +54,6 @@ public:
signals:
void processRunning(quint16 port);
void timeUpdate();
public slots:
bool startEngine();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment