forked from qt-creator/qt-creator
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: Kai Koehne <kai.koehne@theqtcompany.com>
This commit is contained in:
@@ -348,6 +348,7 @@ void QmlProfilerTool::setRecording(bool recording)
|
||||
QLatin1String(":/qmlprofiler/recordOff.png")));
|
||||
|
||||
d->m_recordButton->setChecked(recording);
|
||||
d->m_profilerState->setClientRecording(recording);
|
||||
|
||||
// manage timer
|
||||
if (d->m_profilerState->currentState() == QmlProfilerStateManager::AppRunning) {
|
||||
|
Reference in New Issue
Block a user