diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-10-12 17:28:03 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-10-23 11:34:30 +0200 |
commit | 34d3f2e21921a7eef8f6241a178598f9eaf0a8a9 (patch) | |
tree | 107bc21ce9da7b116c6fbd01e88e13ef05ac0ee7 /examples/widgets/widgets | |
parent | 560d48730bf69a1fd9ba5ebf888c8e52d50261f2 (diff) |
Fix QLocale's findLocaleDataById(): skip likely sub-tag look-up
It was always called in pairs, first with likely sub-tags added, then
with the base that started from. So doing a likely sub-tag lookup
inside the function was redundant for the former while making the
latter redundant - and it's needed.
Task-number: QTBUG-84669
Change-Id: I18bf1d4976a51d9436efd20d1a84a36cfc60f618
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 55e16b25f52fdd1b945d3f94d79ce85d88cb69ec)
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'examples/widgets/widgets')
0 files changed, 0 insertions, 0 deletions