summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Arne Vestbø <[email protected]>2025-06-03 00:01:03 +0200
committerTor Arne Vestbø <[email protected]>2025-06-03 21:07:34 +0200
commitb02da5f04a11525431a80edd5c00a4d60fc1b89c (patch)
tree927a7d4060ab207695313830747cdea1c7a3a29a
parentecad0ca351709f0f3876866ed9f80c9babfd7aa6 (diff)
Remove docs claiming QColormap is involved in mapping colors to displayHEADdev
Change-Id: Iebf949d91379fff903b229c631b97a3c8a9ad03a Reviewed-by: Paul Olav Tvete <[email protected]> Reviewed-by: Volker Hilsheimer <[email protected]>
-rw-r--r--src/gui/doc/src/paintsystem.qdoc3
-rw-r--r--src/gui/painting/qcolor.cpp3
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.