Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 409e7504 authored by Laurent Montel's avatar Laurent Montel 😁

Disable for the moment this feature as it locks sometime

parent a0e38974
......@@ -1920,6 +1920,7 @@ void Kleo::KeyResolver::addKeys(const std::vector<Item> &items)
Kleo::KeyResolver::ContactPreferences Kleo::KeyResolver::lookupContactPreferences(const QString &address) const
const Private::ContactPreferencesMap::iterator it
= d->mContactPreferencesMap.find(address);
if (it != d->mContactPreferencesMap.end()) {
......@@ -1947,6 +1948,10 @@ Kleo::KeyResolver::ContactPreferences Kleo::KeyResolver::lookupContactPreference
// insert into map and grab resulting iterator
d->mContactPreferencesMap.insert(std::make_pair(address, pref));
return pref;
return ContactPreferences();
void Kleo::KeyResolver::saveContactPreference(const QString &email, const ContactPreferences &pref) const
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment