We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc4b011 commit 8a15d19Copy full SHA for 8a15d19
1 file changed
src/zUtils/zUtils.cc
@@ -1,13 +1,13 @@
1
#include "include/zUtils.hpp"
2
-#include <QtSystemDetection>
+#include <QtCoreGlobal>
3
#include <QStandardPaths>
4
5
using namespace zclipboard;
6
7
QString zUtils::getCachePath() {
8
- #ifdef Q_OS_WINDOWS
9
- return QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation);
10
- #else
11
- return QStandardPaths::writableLocation(QStandardPaths::CacheLocation);
12
- #endif
+#ifdef Q_OS_WIN
+ return QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation);
+#else
+ return QStandardPaths::writableLocation(QStandardPaths::CacheLocation);
+#endif
13
}
0 commit comments