diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-06-08 14:16:08 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-06-08 21:35:54 +0000 |
commit | f0d9eed0649f96e2ea1d289e66d7e1a661a2d982 (patch) | |
tree | 80edcd4289dca0c763e3f5df8ada73b212a45211 /doc/global/includes | |
parent | e672fd543299f07d178cfba1795d1ad2a0f909ef (diff) |
QString: fix QChar <> QLatin1String relational operators for non-US-ASCII
The implementation used the QString::compare_helper(QChar*, int, char*, int)
overload, which, however, interprets the rhs as a UTF-8 sequence, not as
Latin-1.
Fix by using the (QChar*, int, QLatin1String) overload.
Extend the test to cover this case, too.
Change-Id: I59b26d63d0caec036b80ef8818c75d0cebe519d2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'doc/global/includes')
0 files changed, 0 insertions, 0 deletions