mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +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;
|
QT_DIRENT *dirEntry = nullptr;
|
||||||
|
|
||||||
auto res = walkDir(QFile::encodeName(path), countHiddenFiles, countDirectoriesOnly, dirEntry, maxRecursiveLevel);
|
auto res = walkDir(path, countHiddenFiles, countDirectoriesOnly, dirEntry, maxRecursiveLevel);
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue