all repos — mgba @ 0dc506f9b0f6dfd29d4a97ce332cff1346ad1c8f

mGBA Game Boy Advance Emulator

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

0dc506f9b0f6dfd29d4a97ce332cff1346ad1c8f

parent

aa5e7be455e9d5570da3928317c1f3761b9fc065

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;