Fix country detection from QLocale
ClosedPublic

Authored by vkrause on Jul 8 2018, 9:50 AM.

Details

Summary

Neither QLocale::name() nor QLocale::bcp47Name() return a country
ISO code, as it was expected here.

Adapt the unit test to cover the interesting case of multi-lingual
countries for this.

Diff Detail

Repository
R174 KContacts
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 670
Build 682: arc lint + arc unit
vkrause created this revision.Jul 8 2018, 9:50 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptJul 8 2018, 9:50 AM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
vkrause requested review of this revision.Jul 8 2018, 9:50 AM
dvratil accepted this revision.Jul 13 2018, 11:51 AM
This revision is now accepted and ready to land.Jul 13 2018, 11:51 AM
This revision was automatically updated to reflect the committed changes.