aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/SignersPicker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/SignersPicker.cpp')
-rw-r--r--src/ui/dialog/SignersPicker.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/dialog/SignersPicker.cpp b/src/ui/dialog/SignersPicker.cpp
index 9c342cc7..5ab33425 100644
--- a/src/ui/dialog/SignersPicker.cpp
+++ b/src/ui/dialog/SignersPicker.cpp
@@ -46,9 +46,10 @@ SignersPicker::SignersPicker(QWidget* parent)
/*Setup KeyList*/
key_list_ = new KeyList(0U, this);
key_list_->AddListGroupTab(
- tr("Signers"), "signers", KeyListRow::ONLY_SECRET_KEY,
- KeyListColumn::NAME | KeyListColumn::EmailAddress | KeyListColumn::Usage,
- [](const GpgKey& key, const KeyTable&) -> bool {
+ tr("Signers"), "signers", GpgKeyTableDisplayMode::kPrivateKey,
+ GpgKeyTableColumn::kName | GpgKeyTableColumn::kEmailAddress |
+ GpgKeyTableColumn::kUsage,
+ [](const GpgKey& key) -> bool {
return key.IsHasActualSigningCapability();
});
key_list_->SlotRefresh();