Avoid more uses of non-explicit QChar(int) constructor

Will be gone in Qt6.

Task-number: QTCREATORBUG-24098
Change-Id: Id76b15bb11879b2e8ff0f71af45acbfb1720f763
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2020-11-06 11:53:41 +01:00
parent 8edae33b42
commit eb45b8f9b9
5 changed files with 14 additions and 12 deletions

View File

@@ -986,7 +986,7 @@ int Lexer::scanString(ScanStringMode mode)
_tokenText += QChar(QChar::highSurrogate(codePoint));
u = QChar::lowSurrogate(codePoint);
} else {
u = codePoint;
u = QChar(codePoint);
}
} break;