From dde96f0f4724ca6fb4a56888e8e767e3c3cfc473 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Thu, 4 Apr 2024 21:00:22 +0200 Subject: [PATCH] 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 --- src/gui/painting/qpixellayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/painting/qpixellayout.cpp b/src/gui/painting/qpixellayout.cpp index c6c27a35219..4f2f0ae13a0 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 *, 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; }