diff --git a/src/file/fileindexerconfig.cpp b/src/file/fileindexerconfig.cpp --- a/src/file/fileindexerconfig.cpp +++ b/src/file/fileindexerconfig.cpp @@ -331,6 +331,11 @@ } } } + // Resolve symlinks in excludeFolders + for (int i = 0; i < excludeFoldersPlain.size(); i++) { + QString resolvedPath = QFileInfo(excludeFoldersPlain.at(i)).canonicalFilePath(); + excludeFoldersPlain.replace(i, resolvedPath); + } m_folderCache.clear(); insertSortFolders(includeFoldersPlain, true, m_folderCache);