mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 23:37:59 +00:00
Set default locale
This commit is contained in:
parent
e37a696e7d
commit
75ef6356d3
@ -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…
Reference in New Issue
Block a user