From 3931b64fddffbb12b3276acbdd14a834432b5104 Mon Sep 17 00:00:00 2001 From: saturneric Date: Tue, 21 Jan 2025 23:44:36 +0100 Subject: 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 --- src/ui/dialog/controller/GnuPGControllerDialog.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/ui/dialog/controller/GnuPGControllerDialog.h') 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_; ///< - 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 buffered_key_db_so_; - QList editable_key_db_so_; + QList active_key_db_infos_; + QList key_db_infos_; /** * @brief Get the Restart Needed object -- cgit v1.2.3