aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/perfprofiler
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2023-07-03 14:27:45 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2023-07-04 07:29:23 +0000
commitc1f6d7044589f7842d19fc7b44574152ce72a20f (patch)
tree83f8b88b4127f0306d01fa239256e2b16adf5678 /src/plugins/perfprofiler
parent418482b3e299840254c8d028597387a2fe4c7aac (diff)
RunControl: Remove initiateFinish() / finished()
The only difference between initiateFinish() and initiateStop() is that the initiateFinish() deletes the RunControl automatically after the final state was reached. Add setAutoDeleteOnStop() property and reuse initiateStop() and stopped() instead. Change-Id: I8e842978831b19587a8658b4443c96a04eb7a6df Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/perfprofiler')
-rw-r--r--src/plugins/perfprofiler/perfprofilerruncontrol.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/perfprofiler/perfprofilerruncontrol.cpp b/src/plugins/perfprofiler/perfprofilerruncontrol.cpp
index 3d633160133..4368c713933 100644
--- a/src/plugins/perfprofiler/perfprofilerruncontrol.cpp
+++ b/src/plugins/perfprofiler/perfprofilerruncontrol.cpp
@@ -185,8 +185,6 @@ void PerfProfilerRunner::start()
&PerfProfilerTool::onRunControlStarted);
connect(runControl(), &RunControl::stopped, PerfProfilerTool::instance(),
&PerfProfilerTool::onRunControlFinished);
- connect(runControl(), &RunControl::finished, PerfProfilerTool::instance(),
- &PerfProfilerTool::onRunControlFinished);
PerfDataReader *reader = m_perfParserWorker->reader();
if (auto prw = qobject_cast<LocalPerfRecordWorker *>(m_perfRecordWorker)) {