summaryrefslogtreecommitdiffstats
path: root/src/gui/util/qdesktopservices.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/util/qdesktopservices.h')
-rw-r--r--src/gui/util/qdesktopservices.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/util/qdesktopservices.h b/src/gui/util/qdesktopservices.h
index 87e850d09c..04a639437e 100644
--- a/src/gui/util/qdesktopservices.h
+++ b/src/gui/util/qdesktopservices.h
@@ -43,9 +43,7 @@
#define QDESKTOPSERVICES_H
#include <QtCore/qstring.h>
-#if QT_DEPRECATED_SINCE(5, 0)
#include <QtCore/qstandardpaths.h>
-#endif
QT_BEGIN_HEADER
@@ -66,7 +64,7 @@ public:
static void unsetUrlHandler(const QString &scheme);
#if QT_DEPRECATED_SINCE(5, 0)
- enum StandardLocation {
+ QT_DEPRECATED enum StandardLocation {
DesktopLocation,
DocumentsLocation,
FontsLocation,