summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2024-04-04 21:00:22 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2024-04-06 13:49:11 +0200
commitdde96f0f4724ca6fb4a56888e8e767e3c3cfc473 (patch)
treebd5be9e872216ff8a3222abd7f6109af28dfbacb /src/gui
parent923c5145a8ea47480d49100a9865928baacad6d6 (diff)
QPixelLayout: fix convertCMYKToRGBA32F
The assignment to the output was missing. This work has been kindly sponsored by the QGIS project (https://qgis.org/). Change-Id: Ibe33073b7e97597631a8dbb0035742693fef97f5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/painting/qpixellayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpixellayout.cpp b/src/gui/painting/qpixellayout.cpp
index c6c27a3521..4f2f0ae13a 100644
--- a/src/gui/painting/qpixellayout.cpp
+++ b/src/gui/painting/qpixellayout.cpp
@@ -2080,7 +2080,7 @@ static const QRgbaFloat32 * QT_FASTCALL convertCMYKToRGBA32F(QRgbaFloat32 *buffe
const QList<QRgb> *, QDitherInfo *)
{
for (int i = 0; i < count; ++i)
- QRgbaFloat32::fromArgb32(QCmyk32::fromCmyk32(src[i]).toColor().rgba());
+ buffer[i] = QRgbaFloat32::fromArgb32(QCmyk32::fromCmyk32(src[i]).toColor().rgba());
return buffer;
}