ProjectExplorer: Remove virtual RunControl start/stop trampolin

Not needed anymore, effectively replaced by RunWorker start/stop.

Change-Id: I7483c841cdd4e05c9e1f7636a27b20ece37947c2
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2017-06-26 18:40:11 +02:00
parent ed2d41c5e2
commit 629c137ef2
8 changed files with 10 additions and 22 deletions

View File

@@ -342,10 +342,10 @@ void QmlProfilerTool::finalizeRunControl(QmlProfilerRunner *runWorker)
connect(runControl, &RunControl::finished, this, [this, runControl] {
d->m_toolBusy = false;
updateRunActions();
disconnect(d->m_stopAction, &QAction::triggered, runControl, &RunControl::stop);
disconnect(d->m_stopAction, &QAction::triggered, runControl, &RunControl::initiateStop);
});
connect(d->m_stopAction, &QAction::triggered, runControl, &RunControl::stop);
connect(d->m_stopAction, &QAction::triggered, runControl, &RunControl::initiateStop);
updateRunActions();
runWorker->registerProfilerStateManager(d->m_profilerState);