aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/SignersPicker.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-02-02 20:03:21 +0000
committersaturneric <[email protected]>2025-02-02 20:03:21 +0000
commit39387a78e2e056fa946f92ec7509ef73ad3ecfa3 (patch)
treeebb8e2376c8a898b13dc862c2b5a8d3c07b6710b /src/ui/dialog/SignersPicker.cpp
parentrefactor: rewrite subkey generate dialog and fix some issues discovered (diff)
downloadGpgFrontend-39387a78e2e056fa946f92ec7509ef73ad3ecfa3.tar.gz
GpgFrontend-39387a78e2e056fa946f92ec7509ef73ad3ecfa3.zip
refactor: make some function names shorter
Diffstat (limited to '')
-rw-r--r--src/ui/dialog/SignersPicker.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/ui/dialog/SignersPicker.cpp b/src/ui/dialog/SignersPicker.cpp
index 21996f5b..61a31606 100644
--- a/src/ui/dialog/SignersPicker.cpp
+++ b/src/ui/dialog/SignersPicker.cpp
@@ -49,11 +49,9 @@ SignersPicker::SignersPicker(int channel, QWidget* parent)
GpgKeyTableColumn::kNAME | GpgKeyTableColumn::kEMAIL_ADDRESS |
GpgKeyTableColumn::kKEY_ID | GpgKeyTableColumn::kUSAGE,
this);
- key_list_->AddListGroupTab(tr("Signers"), "signers",
- GpgKeyTableDisplayMode::kPRIVATE_KEY,
- [](const GpgKey& key) -> bool {
- return key.IsHasActualSigningCapability();
- });
+ key_list_->AddListGroupTab(
+ tr("Signers"), "signers", GpgKeyTableDisplayMode::kPRIVATE_KEY,
+ [](const GpgKey& key) -> bool { return key.IsHasActualSignCap(); });
key_list_->SlotRefresh();
auto* vbox2 = new QVBoxLayout();