From 50417e36dddab3fd040168dc00e61b714bad7568 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Thu, 22 Feb 2024 10:54:32 +0100 Subject: [PATCH] Fix support for Input color spaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Not really a common use-case and shouldnt be in images anyway, but we have the code to support it, except it had a typo in it. Pick-to: 6.6 6.5 Change-Id: I8585eaf7be82f13e61c94430743d765359fa48fe Reviewed-by: Tor Arne Vestbø (cherry picked from commit b697de79b041cd47e86b578a3a119fb3e7b62f71) Reviewed-by: Qt Cherry-pick Bot --- src/gui/painting/qicc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/painting/qicc.cpp b/src/gui/painting/qicc.cpp index 77aae9ec49a..d21bf6b4d93 100644 --- a/src/gui/painting/qicc.cpp +++ b/src/gui/painting/qicc.cpp @@ -63,7 +63,7 @@ enum class ColorSpaceType : quint32 { }; enum class ProfileClass : quint32 { - Input = IccTag('s', 'c', 'r', 'n'), + Input = IccTag('s', 'c', 'n', 'r'), Display = IccTag('m', 'n', 't', 'r'), // Not supported: Output = IccTag('p', 'r', 't', 'r'),