From 325b19fc7f0d04cdc1308f235c207c1ab43e945d Mon Sep 17 00:00:00 2001
From: Andras Man <andras.mantia-ext@siemens-energy.com>
Date: Fri, 4 Apr 2025 18:47:03 +0300
Subject: [PATCH] Fix build with Qt 6.9.0

---
 core/libs/widgets/text/localizeselector.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/libs/widgets/text/localizeselector.cpp b/core/libs/widgets/text/localizeselector.cpp
index b284b270979..ab70a9379c3 100644
--- a/core/libs/widgets/text/localizeselector.cpp
+++ b/core/libs/widgets/text/localizeselector.cpp
@@ -326,7 +326,7 @@ bool s_inlineTranslateString(const QString& text, const QString& trCode, QString
     }
     else
     {
-        error = QChar(trengine->error());
+        error = QChar::fromLatin1(trengine->error());
     }
 
     return false;
-- 
GitLab

