mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix initializing locale
This commit is contained in:
parent
c8f07ebded
commit
db08a75d9b
|
@ -49,6 +49,7 @@ GBAApp::GBAApp(int& argc, char* argv[])
|
||||||
|
|
||||||
if (!m_configController.getQtOption("language").isNull()) {
|
if (!m_configController.getQtOption("language").isNull()) {
|
||||||
locale = QLocale(m_configController.getQtOption("language").toString());
|
locale = QLocale(m_configController.getQtOption("language").toString());
|
||||||
|
QLocale::setDefault(locale);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTranslator qtTranslator;
|
QTranslator qtTranslator;
|
||||||
|
|
Loading…
Reference in New Issue