forked from qt-creator/qt-creator
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: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
@@ -319,7 +319,8 @@ static void localizedText(const QStringList &locales, QXmlStreamReader *reader,
|
|||||||
} else {
|
} else {
|
||||||
if (*currentLocale < 0 && currentText->isEmpty()) {
|
if (*currentLocale < 0 && currentText->isEmpty()) {
|
||||||
*currentText = QCoreApplication::translate("Core::Internal::ExternalTool",
|
*currentText = QCoreApplication::translate("Core::Internal::ExternalTool",
|
||||||
reader->readElementText().toUtf8().constData());
|
reader->readElementText().toUtf8().constData(),
|
||||||
|
"", QCoreApplication::UnicodeUTF8);
|
||||||
} else {
|
} else {
|
||||||
reader->skipCurrentElement();
|
reader->skipCurrentElement();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user