aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/controller/GnuPGControllerDialog.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-01-21 22:44:36 +0000
committersaturneric <[email protected]>2025-01-21 22:44:36 +0000
commit3931b64fddffbb12b3276acbdd14a834432b5104 (patch)
tree6069614bbd592fbf1f319d5e702d6e34a7ab0d4a /src/ui/dialog/controller/GnuPGControllerDialog.h
parentMerge branch 'develop' into dev/2.1.6/main (diff)
downloadGpgFrontend-3931b64fddffbb12b3276acbdd14a834432b5104.tar.gz
GpgFrontend-3931b64fddffbb12b3276acbdd14a834432b5104.zip
feat: enhance key db functions
1. allow using relative key db path 2. allow editing default key db 3. use a key db in own directory at portable mode
Diffstat (limited to 'src/ui/dialog/controller/GnuPGControllerDialog.h')
-rw-r--r--src/ui/dialog/controller/GnuPGControllerDialog.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/dialog/controller/GnuPGControllerDialog.h b/src/ui/dialog/controller/GnuPGControllerDialog.h
index 9c42180c..f0994c27 100644
--- a/src/ui/dialog/controller/GnuPGControllerDialog.h
+++ b/src/ui/dialog/controller/GnuPGControllerDialog.h
@@ -126,12 +126,13 @@ class GnuPGControllerDialog : public GeneralDialog {
private:
std::shared_ptr<Ui_GnuPGControllerDialog> ui_; ///<
- int restart_mode_{0}; ///<
+ const QString app_path_;
+ int restart_mode_{0}; ///<
QString custom_key_database_path_;
QString custom_gnupg_path_;
QMenu* popup_menu_{};
- QList<KeyDatabaseInfo> buffered_key_db_so_;
- QList<KeyDatabaseInfo> editable_key_db_so_;
+ QList<KeyDatabaseInfo> active_key_db_infos_;
+ QList<KeyDatabaseInfo> key_db_infos_;
/**
* @brief Get the Restart Needed object