aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/parser
diff options
context:
space:
mode:
authorDavid Faure <david.faure@kdab.com>2020-11-06 20:20:23 +0100
committerDavid Faure <david.faure@kdab.com>2020-11-07 11:13:39 +0100
commit4f98bf713f6604903c4fe61adc750b23c4407a18 (patch)
treefbd2c6a57414a34665312b23c7b82e582df15ee3 /src/qml/parser
parentc1d4fcb4648fec3396081d24280fbd6cfb9adb4d (diff)
qtdeclarative: finish fixing compilation with explicit QChar(int)
Change-Id: Idb26e2df6d4fe8940db57066a30fa8c243f6d2c9 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/qml/parser')
-rw-r--r--src/qml/parser/qqmljslexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/parser/qqmljslexer.cpp b/src/qml/parser/qqmljslexer.cpp
index df1789c4b3..0c4b2ef32f 100644
--- a/src/qml/parser/qqmljslexer.cpp
+++ b/src/qml/parser/qqmljslexer.cpp
@@ -993,7 +993,7 @@ int Lexer::scanString(ScanStringMode mode)
_tokenText += QChar(QChar::highSurrogate(codePoint));
u = QChar::lowSurrogate(codePoint);
} else {
- u = codePoint;
+ u = QChar(codePoint);
}
} break;