Fix countryToISO() returning the local country for unknown country names

Authored by vkrause on May 20 2018, 3:09 PM.

Description

Fix countryToISO() returning the local country for unknown country names

Summary:
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.

Reviewers: kde-pim, winterz

Reviewed By: winterz

Subscribers: winterz

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D13002

Details

Committed
vkrauseMay 21 2018, 8:58 AM
Reviewer
winterz
Differential Revision
D13002: Fix countryToISO() returning the local country for unknown country names
Parents
R174:a5d21b36c173: GIT_SILENT: Time to increase it
Branches
Unknown
Tags
Unknown