forked from len0rd/rockbox
rbutil: Call QLocale::setDefault() with QLocale.
QLocale::setDefault() shouldn't be called with a QString but a QLocale instead. Calling it with a string doesn't work with Qt6 anymore. Change-Id: I08826095cda8563e4ae9b83d08144da2d0d7f3c7
This commit is contained in:
parent
1e39619034
commit
5640d0d3c7
2 changed files with 2 additions and 2 deletions
|
|
@ -630,7 +630,7 @@ void Config::updateLanguage()
|
|||
RbUtilQt::translators.append(translator);
|
||||
RbUtilQt::translators.append(qttrans);
|
||||
|
||||
QLocale::setDefault(language);
|
||||
QLocale::setDefault(QLocale(language));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue