Replace IPathMatcher stuff with Filter
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
@@ -78,7 +78,7 @@ QStringList RecursiveFileSystemWatcher::scanRecursive(const QDir& directory)
|
||||
}
|
||||
for (const QString& file : directory.entryList(QDir::Files | QDir::Hidden)) {
|
||||
auto relPath = m_root.relativeFilePath(directory.absoluteFilePath(file));
|
||||
if (m_matcher->matches(relPath)) {
|
||||
if (m_matcher(relPath)) {
|
||||
ret.append(relPath);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user