forked from qt-creator/qt-creator
AnsiEscapeCodeHandler: Fix build again
Task-number: QTCREATORBUG-10133 Change-Id: I4b12568b8ca85d55a179c4f42b6adae1d97dc2a7 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
7a24da8a51
commit
fbf64eae72
@@ -77,7 +77,7 @@ QList<StringFormatPair> AnsiEscapeCodeHandler::parseText(const QString &text,
|
||||
|
||||
QTextCharFormat charFormat = m_previousFormatClosed ? defaultFormat : m_previousFormat;
|
||||
|
||||
const QString escape = QLatin1Char(27) + QLatin1Char('[');
|
||||
const QString escape = QChar::fromLatin1(27) + QLatin1Char('[');
|
||||
if (!text.contains(escape)) {
|
||||
outputData << StringFormatPair(text, charFormat);
|
||||
return outputData;
|
||||
|
Reference in New Issue
Block a user