From b69b6d1f554066880e296839c2bcbdb9a1b1c2cb Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Tue, 7 Mar 2017 15:35:42 +0200 Subject: [PATCH] Revert "Set default locale". Closes #6436 and #6459. This reverts commit 75ef6356d35eeff2f356e8bb43cc190da3738ba3. --- src/app/application.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/application.cpp b/src/app/application.cpp index 032d05792..2795d654d 100644 --- a/src/app/application.cpp +++ b/src/app/application.cpp @@ -510,7 +510,6 @@ void Application::initializeTranslation() Preferences* const pref = Preferences::instance(); // Load translation QString localeStr = pref->getLocale(); - QLocale::setDefault(QLocale(localeStr)); if (m_qtTranslator.load(QString::fromUtf8("qtbase_") + localeStr, QLibraryInfo::location(QLibraryInfo::TranslationsPath)) || m_qtTranslator.load(QString::fromUtf8("qt_") + localeStr, QLibraryInfo::location(QLibraryInfo::TranslationsPath)))