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

Use existing helper for removing duplicate keys

parent 0cb40f92
Pipeline #48207 failed with stage
in 11 minutes and 4 seconds
......@@ -136,7 +136,7 @@ std::vector<Key> AbstractKeyListModel::keys(const QList<QModelIndex> &indexes) c
return this->key(idx);
result.erase(std::remove_if(result.begin(), result.end(), std::mem_fn(&GpgME::Key::isNull)), result.end());
result.erase(std::unique(result.begin(), result.end(), _detail::ByFingerprint<std::equal_to>()), result.end());
return result;
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