aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/gnupg/GnuPGControllerDialog.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-26 08:28:16 +0000
committersaturneric <[email protected]>2024-01-26 08:28:16 +0000
commitd57558edfa1eece6b7a60869d8e78e6ae813a091 (patch)
treed2f80bf2f511536f1dfecb3cd1381362e0da398b /src/ui/dialog/gnupg/GnuPGControllerDialog.cpp
parentfix: export libarchive and libgtest to artifacts (diff)
downloadGpgFrontend-d57558edfa1eece6b7a60869d8e78e6ae813a091.tar.gz
GpgFrontend-d57558edfa1eece6b7a60869d8e78e6ae813a091.zip
fix: slove some discovered issues on windows
Diffstat (limited to '')
-rw-r--r--src/ui/dialog/gnupg/GnuPGControllerDialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/dialog/gnupg/GnuPGControllerDialog.cpp b/src/ui/dialog/gnupg/GnuPGControllerDialog.cpp
index 8a4db995..ffe8d3af 100644
--- a/src/ui/dialog/gnupg/GnuPGControllerDialog.cpp
+++ b/src/ui/dialog/gnupg/GnuPGControllerDialog.cpp
@@ -238,7 +238,7 @@ void GnuPGControllerDialog::slot_update_custom_gnupg_install_path_label(
QString custom_gnupg_install_path =
GlobalSettingStation::GetInstance()
.GetSettings()
- .value("basic/custom_gnupg_install_path")
+ .value("gnupg/custom_gnupg_install_path")
.toString();
GF_UI_LOG_DEBUG("custom_gnupg_install_path from settings: {}",
custom_gnupg_install_path);
@@ -333,10 +333,10 @@ void GnuPGControllerDialog::apply_settings() {
ui_->gpgmeDebugLogCheckBox->isChecked());
settings.setValue("gnupg/custom_key_database_path",
ui_->currentKeyDatabasePathLabel->text());
- settings.setValue("basic/custom_gnupg_install_path",
+ settings.setValue("gnupg/custom_gnupg_install_path",
ui_->currentCustomGnuPGInstallPathLabel->text());
settings.setValue("gnupg/restart_gpg_agent_on_start",
- ui_->restartGpgAgentOnStartCheckBox->text());
+ ui_->restartGpgAgentOnStartCheckBox->isChecked());
}
int GnuPGControllerDialog::get_restart_needed() const {