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:
hjk
2024-02-15 17:50:52 +01:00
parent 5334081270
commit 7c5a0e6bb2
18 changed files with 43 additions and 43 deletions

View File

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