Qt: Skip processing QLocale::C if present

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

View File

@ -364,7 +364,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();