From 28d58638e797aed4c15aaacfe3c0c3383c27db0f Mon Sep 17 00:00:00 2001 From: Marco Bubke Date: Fri, 14 Mar 2025 18:22:17 +0100 Subject: [PATCH] QmlDesigner: Fix spelling in watcher Change-Id: I3252ee4b600489b01aaeb52e20a2388bfc62edfb Reviewed-by: Burak Hancerli Reviewed-by: Thomas Hartmann --- .../designercore/projectstorage/projectstoragepathwatcher.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/qmldesigner/libs/designercore/projectstorage/projectstoragepathwatcher.h b/src/plugins/qmldesigner/libs/designercore/projectstorage/projectstoragepathwatcher.h index d2b3a2535e1..9648455c951 100644 --- a/src/plugins/qmldesigner/libs/designercore/projectstorage/projectstoragepathwatcher.h +++ b/src/plugins/qmldesigner/libs/designercore/projectstorage/projectstoragepathwatcher.h @@ -74,14 +74,14 @@ public: addEntries(entires); - auto notContainsdId = [&, &ids = ids](WatcherEntry entry) { + auto notContainsId = [&, &ids = ids](WatcherEntry entry) { return !std::binary_search(ids.begin(), ids.end(), entry.id) || !std::binary_search(sourceContextIds.begin(), sourceContextIds.end(), entry.sourceContextId); }; - removeUnusedEntries(entires, notContainsdId); + removeUnusedEntries(entires, notContainsId); } void removeIds(const ProjectPartIds &ids) override