From 92dc4c5c9451f70060bf379742b91c8cacbb7df6 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Wed, 31 Jan 2024 11:30:57 +0000 Subject: [PATCH] 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 --- src/gui/painting/qrgbafloat.qdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 QRgbaFloat QRgbaFloat::fromRgba64(quint16 r, quint16 g, quint16 b, quint16 a) + \fn template QRgbaFloat QRgbaFloat::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.