From 3452874727d8788ab4882eae191220aee6d4f515 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Wed, 29 Apr 2020 16:35:40 +0200 Subject: [PATCH] macOS: Remove copy of QT_IGNORE_DEPRECATIONS It lives in qcompilerdetection.h now. Change-Id: I7eb227b2a66997a7fd9e439a6dd21f398820f012 Reviewed-by: Volker Hilsheimer --- src/plugins/platforms/cocoa/qcocoahelpers.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/plugins/platforms/cocoa/qcocoahelpers.h b/src/plugins/platforms/cocoa/qcocoahelpers.h index d0e105987a4..71e72dca4f8 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;