diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2021-04-06 13:16:35 +0200 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-06-07 17:14:14 +0200 |
| commit | cce3445e70ff98e55475c544c43177c2cd4a1034 (patch) | |
| tree | e9c6d92b2c930fe93921a2cae6a94c4a4922a460 /src/testlib/doc/snippets | |
| parent | b2871765ced8059e571d17d4010e8d8ada4e9190 (diff) | |
Always include standard name in QLocale::uiLanguages()
Previously, for locales other than the system locale, no entry was
added to the list for the actual locale whose variants - with and
without likely sub-tags - were being appended. In most cases the
standard name will in fact coincide with the variant without likely
sub-tags, so this was unlikely to cause a problem, but it should be
present regardless.
At the same time, turn tst_QLocale::uiLanguages() into a data-driven
test and add another row to its table.
Change-Id: I5cb2d805d78fc3415d82b169caa6154b0f284708
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/testlib/doc/snippets')
0 files changed, 0 insertions, 0 deletions
