Commit c2edbc85 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Remove obsolete function

parent 94862d5d
Pipeline #60086 passed with stage
in 7 minutes and 12 seconds
......@@ -124,7 +124,6 @@ public:
std::vector<Key> resolveRecipient(const QString &address, Protocol protocol);
void resolveEnc(Protocol proto);
void mergeEncryptionKeys();
QStringList unresolvedRecipients(GpgME::Protocol protocol) const;
Result resolve();
KeyResolverCore *const q;
......@@ -535,19 +534,6 @@ auto getBestEncryptionKeys(const QMap<QString, QMap<Protocol, std::vector<Key>>>
return result;
QStringList KeyResolverCore::Private::unresolvedRecipients(GpgME::Protocol protocol) const
QStringList result;
for (auto it = mEncKeys.begin(); it != mEncKeys.end(); ++it) {
const auto &protocolKeysMap = it.value();
if (protocolKeysMap.value(protocol).empty()) {
return result;
bool hasUnresolvedRecipients(const QMap<QString, QMap<Protocol, std::vector<Key>>> &encryptionKeys, Protocol protocol)
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