Commit 0e0ce962 authored by Eike Ziller's avatar Eike Ziller
Browse files

Don't destroy non-Latin1 characters when reading external tools.



Task-number: QTCREATORBUG-8603

Change-Id: Ie8a0265165cf1fc3e806335738185de97a062c4f
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent 01db67fd
......@@ -319,7 +319,7 @@ static void localizedText(const QStringList &locales, QXmlStreamReader *reader,
} else {
if (*currentLocale < 0 && currentText->isEmpty()) {
*currentText = QCoreApplication::translate("Core::Internal::ExternalTool",
reader->readElementText().toLatin1().constData());
reader->readElementText().toUtf8().constData());
} 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