diff options
author | Saturneric <[email protected]> | 2021-12-05 18:51:59 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-05 19:00:26 +0000 |
commit | 590f222de4abdf2aae4d2d8de6f9af25996a713e (patch) | |
tree | 4108a6205fb517a694d65b3044f7369f32b43862 /src/ui/widgets/SignersPicker.cpp | |
parent | Add Submodules & Update & Fixed (diff) | |
download | GpgFrontend-590f222de4abdf2aae4d2d8de6f9af25996a713e.tar.gz GpgFrontend-590f222de4abdf2aae4d2d8de6f9af25996a713e.zip |
Improve UI
1. Support Key List Tab
2. File Hash Calculate
3. File Rename
4. Fix known bugs
5. Fix known ci issues.
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(); |