aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nim
diff options
context:
space:
mode:
authorhjk <[email protected]>2025-03-13 14:38:44 +0100
committerhjk <[email protected]>2025-03-14 08:14:21 +0000
commita1c7fa292399e8febdcc840b4a97c0e7b8ea3370 (patch)
tree276d8b24861f5de9b0b595f231fb7d452cc64e9a /src/plugins/nim
parent472660f8453c7e256180f636899e6871aaea4b48 (diff)
Utils: Proceed with FilePathification of FileSystemWatcher
Task-number: QTCREATORBUG-26870 Change-Id: Ie26a1014161aaa259942eb3287924a04396d07d7 Reviewed-by: Marcus Tillmanns <[email protected]>
Diffstat (limited to 'src/plugins/nim')
-rw-r--r--src/plugins/nim/project/nimproject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nim/project/nimproject.cpp b/src/plugins/nim/project/nimproject.cpp
index 54fc7ace2d7..f56d9e61ef1 100644
--- a/src/plugins/nim/project/nimproject.cpp
+++ b/src/plugins/nim/project/nimproject.cpp
@@ -49,7 +49,7 @@ NimProjectScanner::NimProjectScanner(Project *project)
// Sync watched dirs
const QSet<FilePath> fsDirs = Utils::transform<QSet>(nodes,
[](const std::unique_ptr<FileNode> &fn) { return fn->directory(); });
- const QSet<FilePath> projectDirs = Utils::toSet(m_directoryWatcher.directoryPaths());
+ const QSet<FilePath> projectDirs = Utils::toSet(m_directoryWatcher.directories());
m_directoryWatcher.addDirectories(Utils::toList(fsDirs - projectDirs), FileSystemWatcher::WatchAllChanges);
m_directoryWatcher.removeDirectories(Utils::toList(projectDirs - fsDirs));