Commit b3c2622f authored by hjk's avatar hjk
Browse files

Fixes: potential speed improvement

    RevBy:    dt
    Details:  create QDir objects ony when needed
parent 63a5f15f
......@@ -1841,7 +1841,8 @@ bool ProFileEvaluator::Private::evaluateConditionalFunction(const QString &funct
dirstr = file.left(slsh+1);
file = file.right(file.length() - slsh - 1);
}
cond = QDir(dirstr).entryList(QStringList(file)).count();
if (file.contains('*') || file.contains('?'))
cond = QDir(dirstr).entryList(QStringList(file)).count();
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment