From 31f5dc7f7c34eaab8570d84868e1564d0688b331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9ven=20Car?= Date: Tue, 5 May 2020 07:31:19 +0200 Subject: [PATCH] Fix Windows Build Summary: Due to D25335 Reviewers: #dolphin, elvisangelaccio, ngraham Reviewed By: #dolphin, ngraham Subscribers: kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D29425 --- src/kitemviews/private/kdirectorycontentscounterworker.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kitemviews/private/kdirectorycontentscounterworker.cpp b/src/kitemviews/private/kdirectorycontentscounterworker.cpp index 3117d07aa4..1e4a0b3b47 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) {