summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoahelpers.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-04-29 16:35:40 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-04-30 14:20:26 +0200
commit3452874727d8788ab4882eae191220aee6d4f515 (patch)
tree106d35544057e1441a482d89b1db909a06d7c307 /src/plugins/platforms/cocoa/qcocoahelpers.h
parentc9d9ac5bb07a737c862b40302cd681f7b3b321fd (diff)
macOS: Remove copy of QT_IGNORE_DEPRECATIONS
It lives in qcompilerdetection.h now. Change-Id: I7eb227b2a66997a7fd9e439a6dd21f398820f012 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoahelpers.h')
-rw-r--r--src/plugins/platforms/cocoa/qcocoahelpers.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoahelpers.h b/src/plugins/platforms/cocoa/qcocoahelpers.h
index d0e105987a..71e72dca4f 100644
--- a/src/plugins/platforms/cocoa/qcocoahelpers.h
+++ b/src/plugins/platforms/cocoa/qcocoahelpers.h
@@ -73,14 +73,6 @@ Q_DECLARE_LOGGING_CATEGORY(lcQpaDrawing)
Q_DECLARE_LOGGING_CATEGORY(lcQpaMouse)
Q_DECLARE_LOGGING_CATEGORY(lcQpaScreen)
-#ifndef QT_IGNORE_DEPRECATIONS
-#define QT_IGNORE_DEPRECATIONS(statement) \
- QT_WARNING_PUSH \
- QT_WARNING_DISABLE_DEPRECATED \
- statement \
- QT_WARNING_POP
-#endif
-
class QPixmap;
class QString;