aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/smtp/RecipientsPicker.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-15 02:12:38 +0000
committerSaturneric <[email protected]>2022-01-15 02:12:38 +0000
commit96d14413a5da23ab6ac5aa93a966cd19d4898288 (patch)
tree880829f3978029aeff391e56fb15fdc52b4a3f63 /src/ui/smtp/RecipientsPicker.cpp
parent<doc, refactor>(ci): Tidy up code in gpg/function (diff)
downloadGpgFrontend-96d14413a5da23ab6ac5aa93a966cd19d4898288.tar.gz
GpgFrontend-96d14413a5da23ab6ac5aa93a966cd19d4898288.zip
<doc, refactor>(ci): Tidy up code of core and related parts
1. Rename related entities. 2. Add a comments.
Diffstat (limited to 'src/ui/smtp/RecipientsPicker.cpp')
-rw-r--r--src/ui/smtp/RecipientsPicker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/smtp/RecipientsPicker.cpp b/src/ui/smtp/RecipientsPicker.cpp
index eaaa683a..47c9808b 100644
--- a/src/ui/smtp/RecipientsPicker.cpp
+++ b/src/ui/smtp/RecipientsPicker.cpp
@@ -38,7 +38,7 @@ GpgFrontend::UI::RecipientsPicker::RecipientsPicker(
_("Recipient(s)"), KeyListRow::SECRET_OR_PUBLIC_KEY,
KeyListColumn::NAME | KeyListColumn::EmailAddress,
[](const GpgKey& key) -> bool {
- return !key.is_private_key() && key.CanEncrActual();
+ return !key.IsPrivateKey() && key.IsHasActualEncryptionCapability();
});
key_list_->slotRefresh();