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,
|
QObject::connect(runStorage().activeStorage(), &RunInterface::canceled, &process,
|
||||||
[runControl, process = &process] {
|
[runControl, process = &process] {
|
||||||
process->stop();
|
|
||||||
runControl->postMessage(Tr::tr("Requesting process to stop ...."), NormalMessageFormat);
|
runControl->postMessage(Tr::tr("Requesting process to stop ...."), NormalMessageFormat);
|
||||||
|
process->stop();
|
||||||
});
|
});
|
||||||
return SetupResult::Continue;
|
return SetupResult::Continue;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user