forked from qt-creator/qt-creator
Rename RunControl::aspect to RunControl::aspectData
It's the "persisted" form of the content of the original aspect's data, calling it 'aspect' already confused me a few times. Change-Id: I88a6f76f0ca39d3d36dde9b84287032ceecf7033 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -69,7 +69,7 @@ QmlMultiLanguageAspect::QmlMultiLanguageAspect(AspectContainer *container)
|
||||
|
||||
connect(this, &BoolAspect::changed, this, [this] {
|
||||
for (RunControl *runControl : ProjectExplorerPlugin::allRunControls()) {
|
||||
if (auto aspect = runControl->aspect<QmlMultiLanguageAspect>()) {
|
||||
if (auto aspect = runControl->aspectData<QmlMultiLanguageAspect>()) {
|
||||
if (auto origin = aspect->origin; origin == this)
|
||||
runControl->initiateStop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user