aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilerclientmanager.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-11-18 15:18:58 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-11-19 12:16:41 +0000
commit030acfdf73bff47adffed70338de5833fb3a6f46 (patch)
tree28c52737c358a5b90539b12f032d674f709fb692 /src/plugins/qmlprofiler/qmlprofilerclientmanager.h
parentd7f6dec98ed6f09b98f46e2cb07020e36b3b8c16 (diff)
QmlProfiler: Send the client recording state to new engines
Otherwise some engine can stop recording by sending a "Complete" event and that will be the state we send to any new engines, although the recording button was checked when the recording started. Also, don't redirect state changes and the associated recording state sending through a signal and slot. This allows us to remove the "enabled" property of QmlProfilerTraceClient and adapt the signature of sendRecordingStatus() to facilitate the redirection of newEngine() through the client manager. Task-number: QTCREATORBUG-13317 Change-Id: Ie9dc6785eb761514bc96aaf5724f7b23d3c2932e Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerclientmanager.h')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilerclientmanager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h
index 3167f98579..342f254bb6 100644
--- a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h
+++ b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h
@@ -81,6 +81,7 @@ private slots:
void retryMessageBoxFinished(int result);
void qmlComplete(qint64 maximumTime);
+ void qmlNewEngine(int engineId);
void profilerStateChanged();
void clientRecordingChanged();