diff --git a/src/core/tools/qlocale.cpp b/src/core/tools/qlocale.cpp index be0dcf492..72ffec4c6 100644 --- a/src/core/tools/qlocale.cpp +++ b/src/core/tools/qlocale.cpp @@ -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;