Merge remote-tracking branch 'origin/qds/dev'

Change-Id: Id242ab4ca485527defdcc1555d204e12e50ddb7a
This commit is contained in:
Tim Jenssen
2023-09-14 17:25:47 +02:00
616 changed files with 29309 additions and 14257 deletions

View File

@@ -69,8 +69,10 @@ QmlMultiLanguageAspect::QmlMultiLanguageAspect(AspectContainer *container)
connect(this, &BoolAspect::changed, this, [this] {
for (RunControl *runControl : ProjectExplorerPlugin::allRunControls()) {
if (runControl->aspect<QmlMultiLanguageAspect>()->origin == this)
runControl->initiateStop();
if (auto aspect = runControl->aspect<QmlMultiLanguageAspect>()) {
if (auto origin = aspect->origin; origin == this)
runControl->initiateStop();
}
}
});
}