diff options
author | Saturneric <[email protected]> | 2021-12-06 05:58:52 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-06 06:13:25 +0000 |
commit | b86aa03e5f6061f73389ef17cddf694e8a88f035 (patch) | |
tree | 81516b808e3e262819c6ada934c1c60b752ffc14 /src/ui/widgets/SignersPicker.cpp | |
parent | Improve CI (diff) | |
parent | Merge pull request #27 from saturneric/develop-ui (diff) | |
download | GpgFrontend-b86aa03e5f6061f73389ef17cddf694e8a88f035.tar.gz GpgFrontend-b86aa03e5f6061f73389ef17cddf694e8a88f035.zip |
Merge branch 'develop' of github.com:saturneric/GpgFrontend into develop-ci
Diffstat (limited to 'src/ui/widgets/SignersPicker.cpp')
-rw-r--r-- | src/ui/widgets/SignersPicker.cpp | 15 |
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(); |