shared: ParallelDirScanner: Correct filter to 'NoDotAndDotDot' from 'NoDotDot'

This commit is contained in:
Albert S. 2022-06-27 23:10:53 +02:00
bovenliggende d0fe51c666
commit bda23670e3

Bestand weergeven

@ -76,7 +76,7 @@ void ParallelDirScanner::scan()
matcher.setPatterns(this->ignorePatterns); matcher.setPatterns(this->ignorePatterns);
for(QString &path : this->paths) for(QString &path : this->paths)
{ {
QDirIterator iterator(path, QStringList{}, QDir::Dirs | QDir::QDir::Files | QDir::NoDotDot); QDirIterator iterator(path, QStringList{}, QDir::Dirs | QDir::QDir::Files | QDir::NoDotAndDotDot);
while(iterator.hasNext()) while(iterator.hasNext())
{ {
QString path = iterator.next(); QString path = iterator.next();