From 0c6c9ec6a2b3f86cb34a121f8bde44d7399e4129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Fri, 9 Jun 2023 15:14:04 +0200 Subject: [PATCH] macOS: Remove old friend declaration for qt_mac_is_metal The function was part of the Cocoa style for checking the metal look (not Metal the graphics API), but has long been removed. Change-Id: I366b952db4ae82b8ecc442f1ce61e7f53cacfe80 Reviewed-by: Timur Pocheptsov (cherry picked from commit 716df4965e75ff9e87278ea6753a4a311ce2c3bd) Reviewed-by: Qt Cherry-pick Bot --- src/widgets/kernel/qwidget.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/widgets/kernel/qwidget.h b/src/widgets/kernel/qwidget.h index a17803cabc3..4591ab04540 100644 --- a/src/widgets/kernel/qwidget.h +++ b/src/widgets/kernel/qwidget.h @@ -769,9 +769,6 @@ private: #endif // QT_NO_GESTURES friend class QWidgetEffectSourcePrivate; -#ifdef Q_OS_MAC - friend bool qt_mac_is_metal(const QWidget *w); -#endif friend Q_WIDGETS_EXPORT QWidgetData *qt_qwidget_data(QWidget *widget); friend Q_WIDGETS_EXPORT QWidgetPrivate *qt_widget_private(QWidget *widget);