diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2020-04-27 11:11:54 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2020-04-30 07:49:40 +0200 |
| commit | 2e41a466903852facc3f3f0100d04149b72b2409 (patch) | |
| tree | 92a217f9bb7e7895a944392304b68b30181a3360 /src/corelib/codecs/qsimplecodec.cpp | |
| parent | 68a20d69419671f28990052aca4c89a52ee78046 (diff) | |
QTextCodecs: fix a few more ushort/uint -> QChar conversions
They leaked through since QChar(char) was explicit and therefore
QChar(char16_t) was the only viable constructor left once we made
all non-character-type QChar ctors explicit, too.
Change-Id: I6d774fc4b0d3b7eb480bdb93afd17c2ee9260b1c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/codecs/qsimplecodec.cpp')
| -rw-r--r-- | src/corelib/codecs/qsimplecodec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/codecs/qsimplecodec.cpp b/src/corelib/codecs/qsimplecodec.cpp index 4e826200039..c78a2ecabdc 100644 --- a/src/corelib/codecs/qsimplecodec.cpp +++ b/src/corelib/codecs/qsimplecodec.cpp @@ -48,7 +48,7 @@ static const struct { const char *mime; const char *aliases[7]; int mib; - quint16 values[128]; + char16_t values[128]; } unicodevalues[QSimpleTextCodec::numSimpleCodecs] = { // from RFC 1489, ftp://ftp.isi.edu/in-notes/rfc1489.txt { "KOI8-R", { "csKOI8R", nullptr }, 2084, |
