Commit fe2d9e2a authored by Ulf Hermann's avatar Ulf Hermann
Browse files

QmlProfiler: Remove QmlProfilerClientManager::serverRecordingChanged



It doesn't do anything useful. Also the qmlDataReady member is
write-only and can be removed.

Change-Id: I667b05611cfc5960eb2fd73254a7b3c621ae98a3
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@theqtcompany.com>
parent fdbed834
......@@ -64,8 +64,6 @@ public:
QString sysroot;
quint32 flushInterval;
bool qmlDataReady;
QmlProfilerModelManager *modelManager;
};
......@@ -78,7 +76,6 @@ QmlProfilerClientManager::QmlProfilerClientManager(QObject *parent) :
d->connection = 0;
d->connectionAttempts = 0;
d->qmlDataReady = false;
d->flushInterval = 0;
d->modelManager = 0;
......@@ -310,11 +307,8 @@ void QmlProfilerClientManager::retryMessageBoxFinished(int result)
void QmlProfilerClientManager::qmlComplete(qint64 maximumTime)
{
d->modelManager->traceTime()->increaseEndTime(maximumTime);
d->qmlDataReady = true;
if (d->modelManager)
d->modelManager->acquiringDone();
// once complete is sent, reset the flags
d->qmlDataReady = false;
}
void QmlProfilerClientManager::stopClientsRecording()
......@@ -330,8 +324,6 @@ void QmlProfilerClientManager::registerProfilerStateManager( QmlProfilerStateMan
this, SLOT(profilerStateChanged()));
disconnect(d->profilerState, SIGNAL(clientRecordingChanged()),
this, SLOT(clientRecordingChanged()));
disconnect(d->profilerState, SIGNAL(serverRecordingChanged()),
this, SLOT(serverRecordingChanged()));
}
d->profilerState = profilerState;
......@@ -342,8 +334,6 @@ void QmlProfilerClientManager::registerProfilerStateManager( QmlProfilerStateMan
this, SLOT(profilerStateChanged()));
connect(d->profilerState, SIGNAL(clientRecordingChanged()),
this, SLOT(clientRecordingChanged()));
connect(d->profilerState, SIGNAL(serverRecordingChanged()),
this, SLOT(serverRecordingChanged()));
}
}
......@@ -371,11 +361,5 @@ void QmlProfilerClientManager::clientRecordingChanged()
}
}
void QmlProfilerClientManager::serverRecordingChanged()
{
if (d->profilerState->serverRecording())
d->qmlDataReady = false;
}
} // namespace Internal
} // namespace QmlProfiler
......@@ -79,7 +79,6 @@ private slots:
void profilerStateChanged();
void clientRecordingChanged();
void serverRecordingChanged();
private:
class QmlProfilerClientManagerPrivate;
......
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