Commit 265ff199 authored by Gus Grubba's avatar Gus Grubba

Debug message in the wrong place

parent 5b59a047
...@@ -364,6 +364,7 @@ QGCApplication::QGCApplication(int &argc, char* argv[], bool unitTesting) ...@@ -364,6 +364,7 @@ QGCApplication::QGCApplication(int &argc, char* argv[], bool unitTesting)
void QGCApplication::setLanguage() void QGCApplication::setLanguage()
{ {
QLocale locale = QLocale::system(); QLocale locale = QLocale::system();
qDebug() << "System reported locale:" << locale << locale.name();
//-- See App.SettinsGroup.json for index //-- See App.SettinsGroup.json for index
int langID = toolbox()->settingsManager()->appSettings()->language()->rawValue().toInt(); int langID = toolbox()->settingsManager()->appSettings()->language()->rawValue().toInt();
if(langID) { if(langID) {
...@@ -394,7 +395,6 @@ void QGCApplication::setLanguage() ...@@ -394,7 +395,6 @@ void QGCApplication::setLanguage()
break; break;
} }
} }
qDebug() << "System reported locale:" << locale << locale.name();
//-- Our localization //-- Our localization
if(_QGCTranslator.load(locale, "qgc_", "", ":/localization")) if(_QGCTranslator.load(locale, "qgc_", "", ":/localization"))
_app->installTranslator(&_QGCTranslator); _app->installTranslator(&_QGCTranslator);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment