diff options
| author | Ben Cooksley <[email protected]> | 2017-09-12 07:25:25 +1200 |
|---|---|---|
| committer | Ben Cooksley <[email protected]> | 2017-09-12 07:25:25 +1200 |
| commit | 4c1df50d522a09577274e19a8fe66bd865f3a2da (patch) | |
| tree | 3f912e3a4a8c10f08eca4e71dd9bbf177d8e3522 /src | |
| parent | 2fd85facf85b39f84eeada10bcf80060bb72ab51 (diff) | |
Qt 5 Porting: Q_WS_WIN -> Q_OS_WIN
Diffstat (limited to 'src')
| -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) { |
