Skip to content

Commit 8a15d19

Browse files
Remove private header <QtSystemDetection> to utils
1 parent cc4b011 commit 8a15d19

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/zUtils/zUtils.cc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#include "include/zUtils.hpp"
2-
#include <QtSystemDetection>
2+
#include <QtCoreGlobal>
33
#include <QStandardPaths>
44

55
using namespace zclipboard;
66

77
QString zUtils::getCachePath() {
8-
#ifdef Q_OS_WINDOWS
9-
return QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation);
10-
#else
11-
return QStandardPaths::writableLocation(QStandardPaths::CacheLocation);
12-
#endif
8+
#ifdef Q_OS_WIN
9+
return QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation);
10+
#else
11+
return QStandardPaths::writableLocation(QStandardPaths::CacheLocation);
12+
#endif
1313
}

0 commit comments

Comments
 (0)