Commit 6264f7cb authored by Ulf Hermann's avatar Ulf Hermann Committed by Ulf Hermann
Browse files

QmlProfiler: set the client recording state correctly

If a change was triggered from the profiled application we still need
to update the client recording state for the UI to stay consistent.

Change-Id: I2955bd9f2da27a2c32ac93e33742ee5fefbd2751
Task-number: QTCREATORBUG-13322
Reviewed-by: default avatarKai Koehne <>
parent 99f4b635
...@@ -348,6 +348,7 @@ void QmlProfilerTool::setRecording(bool recording) ...@@ -348,6 +348,7 @@ void QmlProfilerTool::setRecording(bool recording)
QLatin1String(":/qmlprofiler/recordOff.png"))); QLatin1String(":/qmlprofiler/recordOff.png")));
d->m_recordButton->setChecked(recording); d->m_recordButton->setChecked(recording);
// manage timer // manage timer
if (d->m_profilerState->currentState() == QmlProfilerStateManager::AppRunning) { if (d->m_profilerState->currentState() == QmlProfilerStateManager::AppRunning) {
Supports Markdown
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