Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Build the bytearray manually.
Halla Rempt0f5dcf73089a
diff --git a/libs/widgetutils/xmlgui/kswitchlanguagedialog_p.cpp b/libs/widgetutils/xmlgui/kswitchlanguagedialog_p.cppindex 42a325520d..742c0b8a65 100644--- a/libs/widgetutils/xmlgui/kswitchlanguagedialog_p.cpp+++ b/libs/widgetutils/xmlgui/kswitchlanguagedialog_p.cpp@@ -69,7 +69,10 @@ static void initializeLanguages()if (languages.isEmpty()) {qputenv("LANGUAGE", languageCode);} else {- qputenv("LANGUAGE", languageCode + ":" + languages);+ QByteArray ba(languageCode);+ ba.append(":");+ ba.append(languages);+ qputenv("LANGUAGE", ba);}}//qDebug() << ">>>>>>>>>>>>>> LANGUAGE" << qgetenv("LANGUAGE");