aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilerstatemanager.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-08-04 17:29:05 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-08-05 10:44:46 +0000
commit5d6f5ff2c969046cd19c13a5b7bb0775c9925ea3 (patch)
treec73ba6e0432b32cd011f9b51b3acf05156fa7211 /src/plugins/qmlprofiler/qmlprofilerstatemanager.cpp
parent4ab130ed9f1a3298d81d97edcd18d8b63ad0080d (diff)
QmlProfiler: Move unrelated code out of QmlProfilerClientManager
The client manager should not be bothered with details of QML events, but rather just connect the client, the model manager, and the state manager. Change-Id: Iec4499f8441a06d4ef5cbcf7bfe23da6f5e7f239 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerstatemanager.cpp')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilerstatemanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerstatemanager.cpp b/src/plugins/qmlprofiler/qmlprofilerstatemanager.cpp
index 772b2b2b38d..4ad395df59a 100644
--- a/src/plugins/qmlprofiler/qmlprofilerstatemanager.cpp
+++ b/src/plugins/qmlprofiler/qmlprofilerstatemanager.cpp
@@ -145,7 +145,7 @@ void QmlProfilerStateManager::setClientRecording(bool recording)
#endif
if (d->m_clientRecording != recording) {
d->m_clientRecording = recording;
- emit clientRecordingChanged();
+ emit clientRecordingChanged(recording);
}
}
@@ -156,7 +156,7 @@ void QmlProfilerStateManager::setServerRecording(bool recording)
#endif
if (d->m_serverRecording != recording) {
d->m_serverRecording = recording;
- emit serverRecordingChanged();
+ emit serverRecordingChanged(recording);
}
}