From b02da5f04a11525431a80edd5c00a4d60fc1b89c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Tue, 3 Jun 2025 00:01:03 +0200 Subject: [PATCH] Remove docs claiming QColormap is involved in mapping colors to display Change-Id: Iebf949d91379fff903b229c631b97a3c8a9ad03a Reviewed-by: Paul Olav Tvete Reviewed-by: Volker Hilsheimer --- src/gui/doc/src/paintsystem.qdoc | 3 +-- src/gui/painting/qcolor.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gui/doc/src/paintsystem.qdoc b/src/gui/doc/src/paintsystem.qdoc index f3a5248db1e..a376aa5fc75 100644 --- a/src/gui/doc/src/paintsystem.qdoc +++ b/src/gui/doc/src/paintsystem.qdoc @@ -242,8 +242,7 @@ Any color in Qt is represented by the QColor class which supports the RGB, HSV and CMYK color models. QColor also support alpha-blended outlining and filling (specifying the transparency - effect), and the class is platform and device independent (the - colors are mapped to hardware using the QColormap class). For more + effect), and the class is platform and device independent. For more information, see the QColor class documentation. The available fill patterns are described by the Qt::BrushStyle diff --git a/src/gui/painting/qcolor.cpp b/src/gui/painting/qcolor.cpp index 71375695bc7..74723340eb8 100644 --- a/src/gui/painting/qcolor.cpp +++ b/src/gui/painting/qcolor.cpp @@ -411,8 +411,7 @@ static QStringList get_colornames() of the provided QRgb, and the qGray() function calculates and return a gray value based on the given value. - QColor is platform and device independent. The QColormap class - maps the color to the hardware. + QColor is platform and device independent. For more information about painting in general, see the \l{Paint System} documentation.