mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Set default locale
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user