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

Este commit está contenido en:
Albert S. 2022-06-27 23:10:53 +02:00
padre d0fe51c666
commit bda23670e3

Ver fichero

@ -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();