diff --git a/src/plugins/qmldesigner/designercore/projectstorage/projectstorageupdater.cpp b/src/plugins/qmldesigner/designercore/projectstorage/projectstorageupdater.cpp index 48b29793866..fddc6272d13 100644 --- a/src/plugins/qmldesigner/designercore/projectstorage/projectstorageupdater.cpp +++ b/src/plugins/qmldesigner/designercore/projectstorage/projectstorageupdater.cpp @@ -315,6 +315,8 @@ void ProjectStorageUpdater::updateDirectories(const QStringList &directories, void ProjectStorageUpdater::pathsWithIdsChanged([[maybe_unused]] const std::vector &idPaths) {} +void ProjectStorageUpdater::pathsChanged(const SourceIds &) {} + void ProjectStorageUpdater::parseTypeInfos(const QStringList &typeInfos, const QList &qmldirDependencies, const QList &qmldirImports, diff --git a/src/plugins/qmldesigner/designercore/projectstorage/projectstorageupdater.h b/src/plugins/qmldesigner/designercore/projectstorage/projectstorageupdater.h index 80100c636ed..33d0f99e32f 100644 --- a/src/plugins/qmldesigner/designercore/projectstorage/projectstorageupdater.h +++ b/src/plugins/qmldesigner/designercore/projectstorage/projectstorageupdater.h @@ -6,6 +6,7 @@ #include "filestatus.h" #include "nonlockingmutex.h" #include "projectstorageids.h" +#include "projectstoragepathwatchernotifierinterface.h" #include "projectstoragepathwatchertypes.h" #include "projectstoragetypes.h" @@ -30,7 +31,7 @@ class ProjectStorage; class QmlDocumentParserInterface; class QmlTypesParserInterface; -class ProjectStorageUpdater +class ProjectStorageUpdater : public ProjectStoragePathWatcherNotifierInterface { public: using PathCache = SourcePathCache, NonLockingMutex>; @@ -50,7 +51,8 @@ public: {} void update(QStringList directories, QStringList qmlTypesPaths); - void pathsWithIdsChanged(const std::vector &idPaths); + void pathsWithIdsChanged(const std::vector &idPaths) override; + void pathsChanged(const SourceIds &filePathIds) override; struct Component {