Qt: Skip processing QLocale::C if present

This commit is contained in:
Vicki Pfau 2024-12-13 14:48:27 -08:00
parent 20da804e65
commit eecdfd0c77
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ SettingsView::SettingsView(ConfigController* controller, InputController* inputC
continue;
}
QLocale locale(name.remove(QString("%0-").arg(binaryName)).remove(".qm"));
if (locale.language() == QLocale::English) {
if (locale.language() == QLocale::English || locale.language() == QLocale::C) {
continue;
}
QString endonym = locale.nativeLanguageName();