aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/model/GpgKeyTreeProxyModel.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-04-12 23:03:57 +0000
committersaturneric <[email protected]>2025-04-12 23:03:57 +0000
commit571cfb16ccfd7ac6bc59b5acc77a94d0bdcf0990 (patch)
treea4efe7ba4d5344897c60513c03172d5de0191658 /src/ui/model/GpgKeyTreeProxyModel.cpp
parentfix: upgrade to gpgme 1.24.2 (diff)
downloadGpgFrontend-571cfb16ccfd7ac6bc59b5acc77a94d0bdcf0990.tar.gz
GpgFrontend-571cfb16ccfd7ac6bc59b5acc77a94d0bdcf0990.zip
feat: add openpgp smart card support
Diffstat (limited to 'src/ui/model/GpgKeyTreeProxyModel.cpp')
-rw-r--r--src/ui/model/GpgKeyTreeProxyModel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/model/GpgKeyTreeProxyModel.cpp b/src/ui/model/GpgKeyTreeProxyModel.cpp
index e58cee88..2f46f548 100644
--- a/src/ui/model/GpgKeyTreeProxyModel.cpp
+++ b/src/ui/model/GpgKeyTreeProxyModel.cpp
@@ -125,4 +125,9 @@ void GpgKeyTreeProxyModel::slot_update_favorites_cache() {
}
}
+void GpgKeyTreeProxyModel::SetKeyFilter(const KeyFilter &filter) {
+ custom_filter_ = filter;
+ invalidateFilter();
+}
+
} // namespace GpgFrontend::UI \ No newline at end of file