From 7e230d6f45f130ac35c69009a9cdc5d9dcd1c45c Mon Sep 17 00:00:00 2001 From: Marco Bubke Date: Mon, 19 May 2025 17:45:02 +0200 Subject: [PATCH] QmlDesigner: Fix spelling Change-Id: I7e4407fbedf924e3cb84cb9b35bf7ba018106602 Reviewed-by: Thomas Hartmann --- .../projectstorage/projectstorageupdater.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/plugins/qmldesigner/libs/designercore/projectstorage/projectstorageupdater.cpp b/src/plugins/qmldesigner/libs/designercore/projectstorage/projectstorageupdater.cpp index af8ad1d9fbe..ccfce28bbab 100644 --- a/src/plugins/qmldesigner/libs/designercore/projectstorage/projectstorageupdater.cpp +++ b/src/plugins/qmldesigner/libs/designercore/projectstorage/projectstorageupdater.cpp @@ -666,7 +666,7 @@ void ProjectStorageUpdater::updateDirectory(const Utils::PathString &directoryPa const DirectoryPathIds &subdirectoriesToIgnore, Storage::Synchronization::SynchronizationPackage &package, NotUpdatedSourceIds ¬UpdatedSourceIds, - WatchedSourceIds &WatchedSourceIds, + WatchedSourceIds &watchedSourceIds, IsInsideProject isInsideProject) { NanotraceHR::Tracer tracer{"update directory", category(), keyValue("directory", directoryPath)}; @@ -677,11 +677,11 @@ void ProjectStorageUpdater::updateDirectory(const Utils::PathString &directoryPa auto directoryState = fileState(directoryId, package, notUpdatedSourceIds); if (isExisting(directoryState)) - WatchedSourceIds.directoryIds.push_back(SourceId::create(directoryId, FileNameId{})); + watchedSourceIds.directoryIds.push_back(SourceId::create(directoryId, FileNameId{})); auto qmldirState = fileState(qmldirSourceId, package, notUpdatedSourceIds); if (isExisting(qmldirState)) - WatchedSourceIds.qmldirSourceIds.push_back(qmldirSourceId); + watchedSourceIds.qmldirSourceIds.push_back(qmldirSourceId); SourcePath annotationDirectoryPath{directoryPath + "/designer"}; auto annotationDirectoryId = m_pathCache.directoryPathId(annotationDirectoryPath); @@ -702,7 +702,7 @@ void ProjectStorageUpdater::updateDirectory(const Utils::PathString &directoryPa annotationDirectoryId, package, notUpdatedSourceIds, - WatchedSourceIds, + watchedSourceIds, isInsideProject, tracer); break; @@ -712,7 +712,7 @@ void ProjectStorageUpdater::updateDirectory(const Utils::PathString &directoryPa parseDirectoryInfos(m_projectStorage.fetchDirectoryInfos(directoryId), package, notUpdatedSourceIds, - WatchedSourceIds, + watchedSourceIds, isInsideProject); break; case FileState::Removed: { @@ -741,7 +741,7 @@ void ProjectStorageUpdater::updateDirectory(const Utils::PathString &directoryPa subdirectoriesToIgnore, package, notUpdatedSourceIds, - WatchedSourceIds, + watchedSourceIds, isInsideProject); tracer.end(keyValue("qmldir source path", qmldirPath),