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 <timur.pocheptsov@qt.io>
(cherry picked from commit 716df4965e75ff9e87278ea6753a4a311ce2c3bd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Tor Arne Vestbø 2023-06-09 15:14:04 +02:00 committed by Qt Cherry-pick Bot
parent 61d7831405
commit 0c6c9ec6a2

View File

@ -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);