Browse Source

Set default locale

adaptive-webui-19844
Chocobo1 8 years ago
parent
commit
75ef6356d3
  1. 1
      src/app/application.cpp

1
src/app/application.cpp

@ -512,6 +512,7 @@ void Application::initializeTranslation()
Preferences* const pref = Preferences::instance(); Preferences* const pref = Preferences::instance();
// Load translation // Load translation
QString localeStr = pref->getLocale(); QString localeStr = pref->getLocale();
QLocale::setDefault(QLocale(localeStr));
if ( if (
#ifdef QBT_USES_QT5 #ifdef QBT_USES_QT5

Loading…
Cancel
Save