mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
compare language to enum instead of integer in systemPrivate() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
3866d5dfbb
commit
fdacf22672
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ static const QLocalePrivate *systemPrivate()
|
|||
{
|
||||
#ifndef QT_NO_SYSTEMLOCALE
|
||||
// copy over the information from the fallback locale and modify
|
||||
if (!system_lp || system_lp->m_language == 0)
|
||||
if (!system_lp || system_lp->m_language == QLocale::AnyLanguage)
|
||||
QLocalePrivate::updateSystemPrivate();
|
||||
|
||||
return system_lp;
|
||||
|
|
Loading…
Add table
Reference in a new issue