It's used to determine whether a non-equivalent prefix of a locale gets added at the end of the block of equivalent locales, or at the very end of the list. Thus it should be initialized for each prefix as it is processed, not before the name is trimmed to its first prefix. Added the test-case that caught this. Amends commit cbf49f735e3cca85922a85d6548666816686db78 This should work as-is in 6.9 but may be hard to back-port to 6.8. None the less, I shall try for the latter, too. Pick-to: 6.8 Task-number: QTBUG-131894 Change-Id: I75ab27153133d2608cf57f0bc998c1e3d0d1432c Reviewed-by: Mate Barany <mate.barany@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 0278a80d6876f38bb37f1d504e6b24a3512efb7a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%