summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2024-01-31 11:30:57 +0000
committerTopi Reinio <topi.reinio@qt.io>2024-02-01 01:53:09 +0000
commit92dc4c5c9451f70060bf379742b91c8cacbb7df6 (patch)
tree1d0645f17701b1ad21395658813d7ab6b628c3c9 /src/gui/painting
parent79363ed6c86f23a881aab5e4e2d6ea65e3ca79df (diff)
Doc: Fix argument names in QRgbaFloat::fromRgba64() \fn signature
Fixes the following documentation warnings: (qdoc) warning: Undocumented parameter 'r' in QRgbaFloat::fromRgba64() (qdoc) warning: No such parameter 'red' in QRgbaFloat::fromRgba64() (Which repeat for green, blue, and alpha.) Pick-to: 6.7 Change-Id: I22d281b716865eec649b9fb63f2113f982fdf8ea Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qrgbafloat.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qrgbafloat.qdoc b/src/gui/painting/qrgbafloat.qdoc
index 14a64029d6..3ec0d209f4 100644
--- a/src/gui/painting/qrgbafloat.qdoc
+++ b/src/gui/painting/qrgbafloat.qdoc
@@ -33,7 +33,7 @@
*/
/*!
- \fn template<typename F> QRgbaFloat QRgbaFloat<F>::fromRgba64(quint16 r, quint16 g, quint16 b, quint16 a)
+ \fn template<typename F> QRgbaFloat QRgbaFloat<F>::fromRgba64(quint16 red, quint16 green, quint16 blue, quint16 alpha)
Constructs a QRgbaFloat value from the four 16-bit integer color channels \a red, \a green, \a blue and \a alpha.