summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Cooksley <[email protected]>2017-09-12 07:25:25 +1200
committerBen Cooksley <[email protected]>2017-09-12 07:25:25 +1200
commit4c1df50d522a09577274e19a8fe66bd865f3a2da (patch)
tree3f912e3a4a8c10f08eca4e71dd9bbf177d8e3522
parent2fd85facf85b39f84eeada10bcf80060bb72ab51 (diff)
Qt 5 Porting: Q_WS_WIN -> Q_OS_WIN
-rw-r--r--src/kitemviews/private/kdirectorycontentscounterworker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kitemviews/private/kdirectorycontentscounterworker.cpp b/src/kitemviews/private/kdirectorycontentscounterworker.cpp
index e649c20..47fbb5d 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 <QDir>
#else
#include <dirent.h>
@@ -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) {