diff options
| author | Ben Cooksley <[email protected]> | 2017-09-12 07:25:25 +1200 |
|---|---|---|
| committer | Ben Cooksley <[email protected]> | 2017-09-12 19:19:53 +1200 |
| commit | 0006e9997e86f5522375dc082d890e0c5710a0a2 (patch) | |
| tree | a6a8b58aabc35dc11871695cc210da54d2ac6e56 | |
| parent | b33faabcd66ad72751d1ce5b7e08be59a6b6d7b9 (diff) | |
Qt 5 Porting: Q_WS_WIN -> Q_OS_WIN
(cherry picked from commit 4c1df50d522a09577274e19a8fe66bd865f3a2da)
| -rw-r--r-- | src/kitemviews/private/kdirectorycontentscounterworker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kitemviews/private/kdirectorycontentscounterworker.cpp b/src/kitemviews/private/kdirectorycontentscounterworker.cpp index e649c20e1..47fbb5dd5 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) { |
