Qt Base (Core, Gui, Widgets, Network, ...)
Go to file
Edward Welbourne b5b172e34f Correct initialization of justAfter in QLocale::uiLanguages()
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 cbf49f735e

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 0278a80d68)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-04-25 16:40:04 +00:00
.github/workflows
LICENSES Add REUSE.toml files 2024-11-05 14:36:16 +01:00
bin CMake: Don't hard-code "libexec" in qt-configure-module 2024-08-16 12:36:35 +02:00
cmake Add support for _qt_internal_configure_file(GENERATE ... INPUT 2025-04-25 16:40:04 +00:00
coin Enable building tests on WoA cross compile 2025-04-15 20:51:32 +02:00
config.tests Add copyright holder to the SPDX line 2025-03-06 02:45:25 +00:00
dist Add REUSE.toml files 2024-11-05 14:36:16 +01:00
doc Doc: Update copyright year in the global configuration 2025-03-28 16:32:16 +00:00
examples Examples: fix a couple of nodiscard warnings from QFile::open 2025-04-24 11:11:24 +00:00
lib
libexec Android: fix warnings in runner script 2024-12-03 20:18:21 +00:00
mkspecs Android: bump Android target API level to 35 2025-03-06 18:43:48 +00:00
qmake QMake: Add ability to link against xcframeworks with Xcode 2025-03-16 13:33:38 +00:00
src Correct initialization of justAfter in QLocale::uiLanguages() 2025-04-25 16:40:04 +00:00
tests Correct initialization of justAfter in QLocale::uiLanguages() 2025-04-25 16:40:04 +00:00
util Bump version to 6.9.1 2025-04-15 06:57:06 +01:00
.cmake.conf Bump version to 6.9.1 2025-04-15 06:57:06 +01:00
.gitattributes
.gitignore Git ignore Visual Studio CMake build directories 2023-11-24 23:42:05 +01:00
.gitreview Add .gitreview file 2025-03-25 08:40:27 +00:00
.lgtm.yml
.tag
CMakeLists.txt cmake: add _extra_files IDE target from heuristics 2024-04-12 08:36:01 +08:00
REUSE.toml Update licensing of files with infrastructure type 2025-03-12 15:16:35 +00:00
config_help.txt Introduce emoji-segmenter to 3rdparty code 2024-11-18 15:52:13 +01:00
configure Do not assume FHS in scripts 2024-06-25 11:44:00 +02:00
configure.bat configure.bat: Use call when calling the helper cmake scripts 2025-01-30 21:18:49 +00:00
configure.cmake Add `_qt_internal_set_source_file_generated` function 2025-02-17 16:13:53 +00:00
dependencies.yaml
licenseRule.json Update licensing of files with infrastructure type 2025-03-12 15:16:35 +00:00
qt_cmdline.cmake configure: Fix the -sbomdir argument 2025-02-21 10:52:15 +00:00