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:
hjk
2025-04-09 16:38:33 +02:00
committed by Jarek Kobus
parent b419f638ec
commit f48c3cc8d7

View File

@@ -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;
};