Commit bf3aa9bf authored by Eike Ziller's avatar Eike Ziller

More fixes for non-Latin1 characters in external tools.

Now also for Qt4 based Windows builds.

Task-number: QTCREATORBUG-8603
Change-Id: I2f4ccfe85450f272146cc641023b9232f3514836
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent 2e449679
......@@ -319,7 +319,8 @@ static void localizedText(const QStringList &locales, QXmlStreamReader *reader,
} else {
if (*currentLocale < 0 && currentText->isEmpty()) {
*currentText = QCoreApplication::translate("Core::Internal::ExternalTool",
reader->readElementText().toUtf8().constData());
reader->readElementText().toUtf8().constData(),
"", QCoreApplication::UnicodeUTF8);
} else {
reader->skipCurrentElement();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment