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

Volker Krause noreply at phabricator.kde.org
Sun May 20 16:10:44 BST 2018


vkrause created this revision.
vkrause added a reviewer: kde-pim.
Restricted Application added a project: KDE PIM.
vkrause requested review of this revision.

REVISION 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.

REPOSITORY
  R174 PIM: KContacts

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D13002

AFFECTED FILES
  autotests/addresstest.cpp
  autotests/addresstest.h
  src/address.cpp
  src/address.h

To: vkrause, kde-pim
Cc: dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20180520/7af5833c/attachment.html>


More information about the kde-pim mailing list