summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-06-09 15:14:04 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-06-09 18:01:00 +0200
commit716df4965e75ff9e87278ea6753a4a311ce2c3bd (patch)
treead49d44a016d1703de693da8c3f364cbe46b0b4c
parent3e7d68a6f429b7cbac4e0ae41c7ad7d4747fb2c2 (diff)
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. Pick-to: 6.5 6.6 Change-Id: I366b952db4ae82b8ecc442f1ce61e7f53cacfe80 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
-rw-r--r--src/widgets/kernel/qwidget.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/widgets/kernel/qwidget.h b/src/widgets/kernel/qwidget.h
index a17803cabc..4591ab0454 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);