Commit 49d5cacd authored by Robert Loehning's avatar Robert Loehning
Browse files

Don't call QDirIterator::filePath() twice

parent 6ac8bd0c
......@@ -75,10 +75,10 @@ QStringList FindInFiles::files()
fileNameFilters(),
QDir::Files|QDir::Readable,
QDirIterator::Subdirectories);
while (it.hasNext()) {
it.next();
fileList << it.filePath();
}
while (it.hasNext())
fileList << it.next();
return fileList;
}
......
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