diff options
author | Andrii Semkiv <[email protected]> | 2024-10-29 10:50:56 +0100 |
---|---|---|
committer | Andrii Semkiv <[email protected]> | 2024-10-29 16:31:46 +0000 |
commit | 3ff0d5c8eb4d9c1b574cade4cf5d4505001ab40f (patch) | |
tree | 515093e3aa5ce1ba7a3cbfd245c4841eddb2f92c /src/plugins/qmlprofiler/qmlprofilertool.cpp | |
parent | 43d09e3802e87fa31f560527828b069c4de1b5e1 (diff) |
QML Profiler: Fix Stop button connection
QML Profiler mistakenly expected a wrong stop signal:
it was bound to `RunControl::stopped` (which apparently arrives
only when the remote debugging is completely stopped),
instead of `QmlProfilerRunner::stopped`, which is issued
when QML profiling is stopped.
Fixes: QTCREATORBUG-31372
Change-Id: I0582894f1ebe8681d8e504a626eb46e5a81f72a5
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilertool.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilertool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertool.cpp b/src/plugins/qmlprofiler/qmlprofilertool.cpp index 631f04cef67..68e3bb63774 100644 --- a/src/plugins/qmlprofiler/qmlprofilertool.cpp +++ b/src/plugins/qmlprofiler/qmlprofilertool.cpp @@ -378,7 +378,7 @@ void QmlProfilerTool::finalizeRunControl(QmlProfilerRunner *runWorker) d->m_profilerConnections->disconnectFromServer(); }; - connect(runControl, &RunControl::stopped, this, handleStop); + connect(runWorker, &QmlProfilerRunner::stopped, this, handleStop); connect(d->m_stopAction, &QAction::triggered, runControl, &RunControl::initiateStop); updateRunActions(); |