aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlpreview
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2024-02-15 17:50:52 +0100
committerhjk <hjk@qt.io>2024-02-16 10:21:15 +0000
commit7c5a0e6bb2740d31de82e78e2316727258851845 (patch)
tree6f4747f4c076f5cd7f808e18800c181a3c6f904a /src/plugins/qmlpreview
parent5334081270b97d1021e8101f6a25e6bfba657243 (diff)
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>
Diffstat (limited to 'src/plugins/qmlpreview')
-rw-r--r--src/plugins/qmlpreview/qmlpreviewruncontrol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlpreview/qmlpreviewruncontrol.cpp b/src/plugins/qmlpreview/qmlpreviewruncontrol.cpp
index 209bc06d1d3..41bac4cd8e5 100644
--- a/src/plugins/qmlpreview/qmlpreviewruncontrol.cpp
+++ b/src/plugins/qmlpreview/qmlpreviewruncontrol.cpp
@@ -206,7 +206,7 @@ public:
setStartModifier([this, runControl, serverUrl] {
CommandLine cmd = commandLine();
- if (const auto aspect = runControl->aspect<QmlProjectManager::QmlMainFileAspect>()) {
+ if (const auto aspect = runControl->aspectData<QmlProjectManager::QmlMainFileAspect>()) {
const auto qmlBuildSystem = qobject_cast<QmlProjectManager::QmlBuildSystem *>(
runControl->target()->buildSystem());
QTC_ASSERT(qmlBuildSystem, return);