From 4c1df50d522a09577274e19a8fe66bd865f3a2da Mon Sep 17 00:00:00 2001 From: Ben Cooksley Date: Tue, 12 Sep 2017 07:25:25 +1200 Subject: [PATCH] Qt 5 Porting: Q_WS_WIN -> Q_OS_WIN --- src/kitemviews/private/kdirectorycontentscounterworker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kitemviews/private/kdirectorycontentscounterworker.cpp b/src/kitemviews/private/kdirectorycontentscounterworker.cpp index e649c20e14..47fbb5dd51 100644 --- a/src/kitemviews/private/kdirectorycontentscounterworker.cpp +++ b/src/kitemviews/private/kdirectorycontentscounterworker.cpp @@ -21,7 +21,7 @@ #include "kdirectorycontentscounterworker.h" // Required includes for subItemsCount(): -#ifdef Q_WS_WIN +#ifdef Q_OS_WIN #include #else #include @@ -39,7 +39,7 @@ int KDirectoryContentsCounterWorker::subItemsCount(const QString& path, Options const bool countHiddenFiles = options & CountHiddenFiles; const bool countDirectoriesOnly = options & CountDirectoriesOnly; -#ifdef Q_WS_WIN +#ifdef Q_OS_WIN QDir dir(path); QDir::Filters filters = QDir::NoDotAndDotDot | QDir::System; if (countHiddenFiles) {