mirror of https://github.com/mgba-emu/mgba.git
Qt: Skip processing QLocale::C if present
This commit is contained in:
parent
34e1ef45b6
commit
fb0fed21aa
|
@ -364,7 +364,7 @@ SettingsView::SettingsView(ConfigController* controller, InputController* inputC
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
QLocale locale(name.remove(QString("%0-").arg(binaryName)).remove(".qm"));
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
QString endonym = locale.nativeLanguageName();
|
QString endonym = locale.nativeLanguageName();
|
||||||
|
|
Loading…
Reference in New Issue