From ecad0ca351709f0f3876866ed9f80c9babfd7aa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Tue, 3 Jun 2025 00:00:20 +0200 Subject: [PATCH] Decouple QColor from QColormap They don't need to be BFFs. Change-Id: I7017347b348bd8e63dfb5f664c95597f84190e7c Reviewed-by: Paul Olav Tvete Reviewed-by: Volker Hilsheimer --- src/gui/painting/qcolor.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gui/painting/qcolor.h b/src/gui/painting/qcolor.h index 2d6db1a14cf..8f6d8bc5a60 100644 --- a/src/gui/painting/qcolor.h +++ b/src/gui/painting/qcolor.h @@ -16,7 +16,6 @@ QT_BEGIN_NAMESPACE class QColor; -class QColormap; class QVariant; #ifndef QT_NO_DEBUG_STREAM @@ -256,7 +255,6 @@ private: ushort array[5]; } ct; - friend class QColormap; #ifndef QT_NO_DATASTREAM friend Q_GUI_EXPORT QDataStream &operator<<(QDataStream &, const QColor &); friend Q_GUI_EXPORT QDataStream &operator>>(QDataStream &, QColor &);