diff options
| author | Lothar Paltins <[email protected]> | 2020-10-27 15:54:03 +0100 |
|---|---|---|
| committer | Lothar Paltins <[email protected]> | 2020-10-27 15:54:03 +0100 |
| commit | 129570b131bb4c6124aba34022cebba269f3e401 (patch) | |
| tree | 49d9471782c451df2b0d25ec24298301fa173779 /src/kitemviews | |
| parent | 2448f88c5f42d7a2040fcf3bcd3c5f2a2f62cd03 (diff) | |
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
Diffstat (limited to 'src/kitemviews')
| -rw-r--r-- | src/kitemviews/private/kdirectorycontentscounterworker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kitemviews/private/kdirectorycontentscounterworker.cpp b/src/kitemviews/private/kdirectorycontentscounterworker.cpp index abe2ad757..1e3b7ff9f 100644 --- a/src/kitemviews/private/kdirectorycontentscounterworker.cpp +++ b/src/kitemviews/private/kdirectorycontentscounterworker.cpp @@ -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 |
