Commit fb6a45ed authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Fix breakage of language guessing

fixup for 59c33050
parent 4a16aa7d
......@@ -91,7 +91,7 @@ QStringList getNames(QLocale::Script script)
QStringList locales;
const auto matchingLocales = QLocale::matchingLocales(QLocale::AnyLanguage, script, QLocale::AnyCountry);
for (const QLocale &locale : locales) {
for (const QLocale &locale : matchingLocales) {
locales <<;
return locales;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment