Load the address formatting rules only once
ClosedPublic

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

Details

Summary

Without this we incur the full KConfig parsing cost per call, which is
unfortunate when using this in a list view for example.

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.
vkrause created this revision.Jul 15 2018, 9:16 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptJul 15 2018, 9:16 AM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
vkrause requested review of this revision.Jul 15 2018, 9:16 AM
dvratil accepted this revision.Jul 15 2018, 11:51 AM
This revision is now accepted and ready to land.Jul 15 2018, 11:51 AM
This revision was automatically updated to reflect the committed changes.