aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/SignersPicker.cpp
diff options
context:
space:
mode:
authorSaturn&Eric <[email protected]>2021-12-05 19:32:25 +0000
committerGitHub <[email protected]>2021-12-05 19:32:25 +0000
commite3ecf7cb0e5fc3058760ac28d58ad9766e9037b6 (patch)
tree4108a6205fb517a694d65b3044f7369f32b43862 /src/ui/widgets/SignersPicker.cpp
parentMerge branch 'main' into develop (diff)
parentImprove UI (diff)
downloadGpgFrontend-e3ecf7cb0e5fc3058760ac28d58ad9766e9037b6.tar.gz
GpgFrontend-e3ecf7cb0e5fc3058760ac28d58ad9766e9037b6.zip
Merge pull request #27 from saturneric/develop-ui
Improve UI
Diffstat (limited to 'src/ui/widgets/SignersPicker.cpp')
-rw-r--r--src/ui/widgets/SignersPicker.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/ui/widgets/SignersPicker.cpp b/src/ui/widgets/SignersPicker.cpp
index 3e4b3bb5..997ee27a 100644
--- a/src/ui/widgets/SignersPicker.cpp
+++ b/src/ui/widgets/SignersPicker.cpp
@@ -33,14 +33,13 @@ SignersPicker::SignersPicker(QWidget* parent) : QDialog(parent) {
/*Setup KeyList*/
mKeyList = new KeyList(
KeyListRow::ONLY_SECRET_KEY,
- KeyListColumn::NAME | KeyListColumn::EmailAddress | KeyListColumn::Usage);
-
- mKeyList->setFilter([](const GpgKey& key) -> bool {
- if (!key.CanSignActual())
- return false;
- else
- return true;
- });
+ KeyListColumn::NAME | KeyListColumn::EmailAddress | KeyListColumn::Usage,
+ [](const GpgKey& key) -> bool {
+ if (!key.CanSignActual())
+ return false;
+ else
+ return true;
+ });
mKeyList->slotRefresh();