From bd4d2786af5da27dd8ee50062fc7c934a20bf5bb Mon Sep 17 00:00:00 2001 From: Anton Kudryavtsev Date: Mon, 15 Apr 2024 10:30:56 +0300 Subject: [PATCH] qicc: avoid implict detach Change-Id: I3bca1460257ddb44004e85d153351fba52b0c8c3 Reviewed-by: Allan Sandfeld Jensen Reviewed-by: Giuseppe D'Angelo --- 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 9c121c920d2..6f7015bb058 100644 --- a/src/gui/painting/qicc.cpp +++ b/src/gui/painting/qicc.cpp @@ -496,7 +496,7 @@ QByteArray toIccProfile(const QColorSpace &space) // Writing description descOffset = currentOffset; - QString description = space.description(); + const QString description = space.description(); stream << uint(Tag::mluc) << uint(0); stream << uint(1) << uint(12); stream << uchar('e') << uchar('n') << uchar('U') << uchar('S');