Better to show nothing rather than something random when the country name
is not recognized or contains a typo. More importantly, this actually
enables the caller to handle this case.
Details
Details
Diff Detail
Diff Detail
- Repository
- R174 KContacts
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
I guess this QLocale::bcp47Name() is useless in this situation.
Right, we don't want a "dash-separated language, script and country (and possibly other BCP47 fields) of this locale as a string."
ship it