DEBUG logging

main
Adriaan de Groot 7 years ago
parent 4b7465696d
commit 6930400b67

@ -147,6 +147,10 @@ WelcomePage::initLanguages()
QLocale thisLocale = QLocale( locale );
QString lang = QLocale::languageToString( thisLocale.language() );
cDebug() << "LOCALE" << locale << "lang" << lang << "country" << QLocale::countryToString( thisLocale.country() );
cDebug() << " .. countries=" << thisLocale.language() << QLocale::countriesForLanguage( thisLocale.language() );
cDebug() << " .. " << thisLocale.nativeLanguageName() << thisLocale.nativeCountryName();
if ( QLocale::countriesForLanguage( thisLocale.language() ).count() > 2 )
lang.append( QString( " (%1)" )
.arg( QLocale::countryToString( thisLocale.country() ) ) );

Loading…
Cancel
Save