mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +00:00
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
This commit is contained in:
parent
2448f88c5f
commit
129570b131
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue