shared: indexer: Add globbed pattern to ignore list

We added the wrong var previously... interestingly didn't matter.
This commit is contained in:
Albert S. 2024-05-24 09:56:04 +02:00
parent 71f81bb682
commit ef9ab30372

View File

@ -30,7 +30,7 @@ void Indexer::beginIndexing()
pattern += "/"; pattern += "/";
} }
pattern += "*"; pattern += "*";
ignoreList.append(excludedPath); ignoreList.append(pattern);
} }
ignoreList.append(this->ignorePattern); ignoreList.append(this->ignorePattern);
wildcardMatcher.setPatterns(ignoreList); wildcardMatcher.setPatterns(ignoreList);