forked from qt-creator/qt-creator
Autotest: Parse text as UTF-8 in processPlainTextOutput()
Change-Id: I252618fb0f547a43f914ec088a3ab3f2ef417b58 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
committed by
André Hartmann
parent
0af0f58a60
commit
1099761d25
@@ -363,7 +363,7 @@ void QtTestOutputReader::processPlainTextOutput(const QByteArray &outputLineWith
|
||||
if (m_futureInterface.isCanceled())
|
||||
return;
|
||||
|
||||
const QString line = QString::fromLatin1(chopLineBreak(outputLineWithNewLine));
|
||||
const QString line = QString::fromUtf8(chopLineBreak(outputLineWithNewLine));
|
||||
|
||||
if (result.exactMatch(line)) {
|
||||
processResultOutput(result.cap(1).toLower().trimmed(), result.cap(2));
|
||||
|
Reference in New Issue
Block a user