diff options
Diffstat (limited to 'src/qml/jsruntime/qv4globalobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4globalobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4globalobject.cpp b/src/qml/jsruntime/qv4globalobject.cpp index 5295bb7232..879ea4a966 100644 --- a/src/qml/jsruntime/qv4globalobject.cpp +++ b/src/qml/jsruntime/qv4globalobject.cpp @@ -122,7 +122,7 @@ static QString unescape(const QString &input) int d1 = fromHex(a.unicode()); int d0 = fromHex(input.at(i+1).unicode()); if ((d1 != -1) && (d0 != -1)) { - c = (d1 << 4) | d0; + c = QChar((d1 << 4) | d0); i += 2; } result.append(c); |