Commit 129570b1 authored by Lothar Paltins's avatar Lothar Paltins
Browse files

Fix wrong parameter in function call

In KDirectoryContentsCounterWorker::CountResult, the first parameter in
the call of walkDir was wrong. It should be path without conversion,
because the conversion is done in the called function.

BUG: 428282
parent 2448f88c
......@@ -109,7 +109,7 @@ KDirectoryContentsCounterWorker::CountResult KDirectoryContentsCounterWorker::su
QT_DIRENT *dirEntry = nullptr;
auto res = walkDir(QFile::encodeName(path), countHiddenFiles, countDirectoriesOnly, dirEntry, maxRecursiveLevel);
auto res = walkDir(path, countHiddenFiles, countDirectoriesOnly, dirEntry, maxRecursiveLevel);
return res;
#endif
......
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