all repos — mgba @ db08a75d9b031c3bfb6f510f6f52db6ace05c93e

mGBA Game Boy Advance Emulator

Qt: Fix initializing locale
Vicki Pfau vi@endrift.com
Tue, 04 Jul 2017 22:38:59 -0700
commit

db08a75d9b031c3bfb6f510f6f52db6ace05c93e

parent

c8f07ebded0434a91fac18e03bc4703c2f0ce2ba

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/GBAApp.cppsrc/platform/qt/GBAApp.cpp

@@ -49,6 +49,7 @@ QLocale locale;

if (!m_configController.getQtOption("language").isNull()) { locale = QLocale(m_configController.getQtOption("language").toString()); + QLocale::setDefault(locale); } QTranslator qtTranslator;