Commit 31f5dc7f authored by Méven Car's avatar Méven Car
Browse files

Fix Windows Build

Summary: Due to D25335

Reviewers: #dolphin, elvisangelaccio, ngraham

Reviewed By: #dolphin, ngraham

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D29425
parent 61ce7cea
......@@ -36,6 +36,7 @@ KDirectoryContentsCounterWorker::KDirectoryContentsCounterWorker(QObject* parent
qRegisterMetaType<KDirectoryContentsCounterWorker::Options>();
}
#ifndef Q_OS_WIN
KDirectoryContentsCounterWorker::CountResult walkDir(const QString &dirPath,
const bool countHiddenFiles,
const bool countDirectoriesOnly,
......@@ -96,6 +97,7 @@ KDirectoryContentsCounterWorker::CountResult walkDir(const QString &dirPath,
}
return KDirectoryContentsCounterWorker::CountResult{count, size};
}
#endif
KDirectoryContentsCounterWorker::CountResult KDirectoryContentsCounterWorker::subItemsCount(const QString& path, Options options)
{
......
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