forked from qt-creator/qt-creator
ProjectExplorer: Switch order of user and backend notification
... in the code of processRecipe(). This doesn't make a practical difference as the backend acts asyncronously, but it looks more logical in code. Change-Id: Ibdec796f0ceb1f1e0a1e5ebd99f15457d88350e7 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -1740,8 +1740,8 @@ Group processRecipe(RunControl *runControl,
|
||||
}
|
||||
QObject::connect(runStorage().activeStorage(), &RunInterface::canceled, &process,
|
||||
[runControl, process = &process] {
|
||||
process->stop();
|
||||
runControl->postMessage(Tr::tr("Requesting process to stop ...."), NormalMessageFormat);
|
||||
process->stop();
|
||||
});
|
||||
return SetupResult::Continue;
|
||||
};
|
||||
|
Reference in New Issue
Block a user