diff options
author | Saturneric <[email protected]> | 2021-12-14 11:28:53 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-14 11:28:53 +0000 |
commit | 50efbe1fcc7d0ebf5dd814a36602f88ec01d2b3a (patch) | |
tree | f64a58f0572b6af09323273b073e39fda78dff33 /src/ui/widgets/KeyList.h | |
parent | Add Deb Build Support & Install Support For Linux. (diff) | |
download | GpgFrontend-50efbe1fcc7d0ebf5dd814a36602f88ec01d2b3a.tar.gz GpgFrontend-50efbe1fcc7d0ebf5dd814a36602f88ec01d2b3a.zip |
Modified Core to Optimization & Fixed Problem
1. GpgKey copy ability
2. GpgXXResult type to shared_ptr
3. KeyList Optimization
4. Fixed Loading Dialog Problem
Diffstat (limited to '')
-rw-r--r-- | src/ui/widgets/KeyList.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/widgets/KeyList.h b/src/ui/widgets/KeyList.h index f09ae2ac..842cc6b3 100644 --- a/src/ui/widgets/KeyList.h +++ b/src/ui/widgets/KeyList.h @@ -68,7 +68,7 @@ struct KeyTable { info_type(_info_type), filter(std::move(_filter)) {} - void Refresh(); + void Refresh(KeyLinkListPtr m_keys = nullptr); KeyIdArgsListPtr GetChecked(); @@ -134,6 +134,8 @@ class KeyList : public QWidget { QMenu* popupMenu{}; + GpgFrontend::KeyLinkListPtr _buffered_keys_list; + std::function<void(const GpgKey&, QWidget*)> mAction = nullptr; private slots: |