Set default locale

This commit is contained in:
Chocobo1 2016-12-18 14:40:19 +08:00 committed by sledgehammer999
commit b77626897f
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

View file

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