summaryrefslogtreecommitdiffstats
path: root/examples/widgets/widgets/styles/widgetgallery.h
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@qt.io>2020-12-02 13:15:14 +0100
committerOswald Buddenhagen <oswald.buddenhagen@gmx.de>2020-12-03 17:16:58 +0000
commite6e23d061cb8ac81007119603f8e7c64fc572e04 (patch)
treef90ce305ec0c21a3f2f4fe7eb97fe6a7051285d4 /examples/widgets/widgets/styles/widgetgallery.h
parent4c9c7d543426da66fc32935bbf8659313998d01f (diff)
Fix QTranslator::load() search order not following uiLanguages order5.15
Merge the exact and and fuzzy search loop. This way we prioritize translations which match a more preferred language loosely over ones which match a less preferred language exactly. This is likely what most users want. Fixes: QTBUG-86179 Change-Id: Id1610c82a2e77edf9a5d4417968dcc4c307810d5 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> (cherry picked from commit 8df2bf04917e742470bbd1ff69e003811c5975ff)
Diffstat (limited to 'examples/widgets/widgets/styles/widgetgallery.h')
0 files changed, 0 insertions, 0 deletions