mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Set default locale
This commit is contained in:
parent
e37a696e7d
commit
75ef6356d3
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue