forked from qt-creator/qt-creator
ProjectExplorer: Initiate proper ramp down if a RunWorker fails
... instead of simply setting the result state. Change-Id: I6525893b6459fbc07a6da2d036d531101864515b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -947,7 +947,7 @@ void RunControlPrivate::onWorkerFailed(RunWorker *worker, const QString &msg)
|
|||||||
worker->d->state = RunWorkerState::Failed;
|
worker->d->state = RunWorkerState::Failed;
|
||||||
|
|
||||||
showError(msg);
|
showError(msg);
|
||||||
setState(RunControlState::Stopped);
|
initiateStop();
|
||||||
}
|
}
|
||||||
|
|
||||||
void RunControlPrivate::onWorkerStopped(RunWorker *worker)
|
void RunControlPrivate::onWorkerStopped(RunWorker *worker)
|
||||||
|
Reference in New Issue
Block a user