diff options
author | hjk <hjk@qt.io> | 2017-03-20 17:25:46 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2017-03-21 06:37:12 +0000 |
commit | 5707528be0eb10d7498e9f2b4523ac9a11f92527 (patch) | |
tree | 6935946a23f27163bfc23254c6098fc0b0e45af2 /src/gui/kernel/qcursor.h | |
parent | 8a3e8856e5606ec616d4420ff8c4f77969432390 (diff) |
Use fromUtf8() instead of fromLatin1() for QT_RESTRICTED_CAST_FROM_ASCII
The change does not change legally observable behavior as the result
of using QT_RESTRICTED_CAST_FROM_ASCII is only defined for (a part of)
the 7-bit range where Latin1 and UTF-8 are the same.
This change does not intend to lift the 7-bit restriction on string
literals for which the use of QT_RESTRICTED_CAST_FROM_ASCII is
well-defined even though in practice it works now for any UTF-8,
which is the presumed encoding outside that range nowadays.
Change-Id: If9a4199235396a43f8f26d7591907b21120823ef
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/kernel/qcursor.h')
0 files changed, 0 insertions, 0 deletions