Cache country <-> ISO code mapping in both directions

Authored by vkrause on Jul 15 2018, 9:12 AM.

Description

Cache country <-> ISO code mapping in both directions

Summary:
This is just a stop-gap measure to avoid reloading the entire country map
file for every call (which is a noticeable problem when using this in a
list view delegate on an Android phone).

The real solution would be converting the map into a directly usable
format that we don't need to parse, but before doing that I'd like to
understand how the i18n() call is supposed to work here...

Reviewers: dvratil

Reviewed By: dvratil

Subscribers: dvratil, kde-pim

Tags: KDE PIM

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

Details

Committed
vkrauseJul 16 2018, 4:03 PM
Reviewer
dvratil
Differential Revision
D14127: Cache country <-> ISO code mapping in both directions
Parents
R174:4ca7b80576a2: Load the address formatting rules only once
Branches
Unknown
Tags
Unknown
References
tag: v18.07.80