Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 0006e999 authored by Ben Cooksley's avatar Ben Cooksley

Qt 5 Porting: Q_WS_WIN -> Q_OS_WIN

(cherry picked from commit 4c1df50d)
parent b33faabc
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment