summaryrefslogtreecommitdiffstats
path: root/src/tools/moc/preprocessor.cpp
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@qt.io>2020-12-02 13:15:14 +0100
committerKarsten Heimrich <karsten.heimrich@qt.io>2020-12-03 07:50:20 +0100
commit8df2bf04917e742470bbd1ff69e003811c5975ff (patch)
treedafbde082fc7fb6dc17d9082583524bd99afe542 /src/tools/moc/preprocessor.cpp
parenta0e04e7d2bfc47891a85378a57ceb5dca1d4c558 (diff)
Fix QTranslator::load() search order not following uiLanguages order
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. Pick-to: 5.15 6.0 Fixes: QTBUG-86179 Change-Id: Id1610c82a2e77edf9a5d4417968dcc4c307810d5 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'src/tools/moc/preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions