forked from qt-creator/qt-creator
ProjectExplorer: Move re-runnable decision to RunWorkers
A RunControl is re-runnable if all its workers are, a RunWorker is re-runnable if it's Stopped and unless it says otherwise. Also ensure SimpleTargetRunner only reportStop() once per run and make process error message re-usable. Change-Id: I73f5fb724d3026ceb81d5e32a3a71b4814b2bca9 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -88,7 +88,7 @@ QmlProfilerRunner::QmlProfilerRunner(RunControl *runControl)
|
||||
{
|
||||
setDisplayName("QmlProfilerRunner");
|
||||
runControl->setIcon(ProjectExplorer::Icons::ANALYZER_START_SMALL_TOOLBAR);
|
||||
runControl->setSupportsReRunning(false);
|
||||
setSupportsReRunning(false);
|
||||
|
||||
// Only wait 4 seconds for the 'Waiting for connection' on application output, then just try to connect
|
||||
// (application output might be redirected / blocked)
|
||||
|
||||
Reference in New Issue
Block a user