1
0
Fork 0

Temporarily log out UI languages on launcher start

This is to help with diagnosing:
https://sourceforge.net/p/flightgear/codetickets/2121/
This commit is contained in:
James Turner 2019-04-17 15:11:15 +01:00
parent b405bd47d0
commit e2ed179f4c

View file

@ -290,6 +290,8 @@ void initApp(int& argc, char** argv, bool doInitQSettings)
static_qApp->installTranslator(fallbackTranslator);
}
qInfo() << "UI languages:" << QLocale().uiLanguages();
QTranslator* translator = new QTranslator(static_qApp.get());
// check for --langauge=xx option and prefer that over QLocale
// detection of the locale if it exists