diff options
author | Saturneric <[email protected]> | 2022-01-15 02:12:38 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-15 02:12:38 +0000 |
commit | 96d14413a5da23ab6ac5aa93a966cd19d4898288 (patch) | |
tree | 880829f3978029aeff391e56fb15fdc52b4a3f63 /src/ui/widgets/SignersPicker.cpp | |
parent | <doc, refactor>(ci): Tidy up code in gpg/function (diff) | |
download | GpgFrontend-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 '')
-rw-r--r-- | src/ui/widgets/SignersPicker.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/widgets/SignersPicker.cpp b/src/ui/widgets/SignersPicker.cpp index b035bf19..d46bd4ad 100644 --- a/src/ui/widgets/SignersPicker.cpp +++ b/src/ui/widgets/SignersPicker.cpp @@ -37,7 +37,9 @@ SignersPicker::SignersPicker(QWidget* parent) : QDialog(parent) { key_list_->addListGroupTab( _("Signers"), KeyListRow::ONLY_SECRET_KEY, KeyListColumn::NAME | KeyListColumn::EmailAddress | KeyListColumn::Usage, - [](const GpgKey& key) -> bool { return key.CanSignActual(); }); + [](const GpgKey& key) -> bool { + return key.IsHasActualSigningCapability(); + }); key_list_->slotRefresh(); auto* vbox2 = new QVBoxLayout(); |