diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2021-07-30 13:45:46 -0700 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-11-01 22:30:23 +0200 |
commit | a9d8794cf0be617d9eedbf9bb0d6d5401735d6f2 (patch) | |
tree | 16fea80f32bebf3f815f0122371738403d9f015c /libexec | |
parent | 25d807f6292e9918ccdbe06cf7f590f60ecae457 (diff) |
QCollator: add public, static functions to do comparisons
Collation with the default QCollator object (no numeric, punctuation or
case sensitivity changes) is a common-place occurrence, so add two
functions to do this work.
It's also what QString::localeAwareCompare() calls.
The test ends up testing that default, static collator updates after the
default QLocale changes too.
Task-number: QTBUG-95050
Change-Id: I7e0b82c2d2fe464082d8fffd1696ac77f32840b2
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions