Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community 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
{
#ifdef HAVE_A_FIX_FOR_LOCK
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;
#else
Q_UNUSED(address)
return ContactPreferences();
#endif
}
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