Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.9.3
-
None
-
73e7ffb2f (dev)
Description
Hi,
The following snippet:
QLocale us(QLocale::AnyLanguage, QLocale::AnyScript, QLocale::UnitedStates); qDebug() << us.country();
returns:
QLocale::Country(AnyCountry)
I would have expected that to return:
QLocale::Country(UnitedStates)
I know it isn't because of some lookup in the source.. But this does seem to be a little wrong. When one does provide the language as well then the output is as expected (QLocale::Country(UnitedStates)).