X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/61ce7cea1d90ba1b83300e325d755789f67c8ca1..31f5dc7f7c34eaab8570d84868e1564d0688b331:/src/kitemviews/private/kdirectorycontentscounterworker.cpp diff --git a/src/kitemviews/private/kdirectorycontentscounterworker.cpp b/src/kitemviews/private/kdirectorycontentscounterworker.cpp index 3117d07aa..1e4a0b3b4 100644 --- a/src/kitemviews/private/kdirectorycontentscounterworker.cpp +++ b/src/kitemviews/private/kdirectorycontentscounterworker.cpp @@ -36,6 +36,7 @@ KDirectoryContentsCounterWorker::KDirectoryContentsCounterWorker(QObject* parent qRegisterMetaType(); } +#ifndef Q_OS_WIN KDirectoryContentsCounterWorker::CountResult walkDir(const QString &dirPath, const bool countHiddenFiles, const bool countDirectoriesOnly, @@ -96,6 +97,7 @@ KDirectoryContentsCounterWorker::CountResult walkDir(const QString &dirPath, } return KDirectoryContentsCounterWorker::CountResult{count, size}; } +#endif KDirectoryContentsCounterWorker::CountResult KDirectoryContentsCounterWorker::subItemsCount(const QString& path, Options options) {