aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/controller
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/controller')
-rw-r--r--src/ui/dialog/controller/GnuPGControllerDialog.cpp4
-rw-r--r--src/ui/dialog/controller/GnuPGControllerDialog.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/dialog/controller/GnuPGControllerDialog.cpp b/src/ui/dialog/controller/GnuPGControllerDialog.cpp
index b35d2a7d..1874e255 100644
--- a/src/ui/dialog/controller/GnuPGControllerDialog.cpp
+++ b/src/ui/dialog/controller/GnuPGControllerDialog.cpp
@@ -347,12 +347,12 @@ void GnuPGControllerDialog::apply_settings() {
}
auto GnuPGControllerDialog::get_restart_needed() const -> int {
- return this->restart_needed_;
+ return this->restart_mode_;
}
void GnuPGControllerDialog::slot_set_restart_needed(int mode) {
GF_UI_LOG_INFO("announce restart needed, mode: {}", mode);
- this->restart_needed_ = mode;
+ this->restart_mode_ = mode;
}
auto GnuPGControllerDialog::check_custom_gnupg_path(QString path) -> bool {
diff --git a/src/ui/dialog/controller/GnuPGControllerDialog.h b/src/ui/dialog/controller/GnuPGControllerDialog.h
index 6e8ef797..e8a4b83c 100644
--- a/src/ui/dialog/controller/GnuPGControllerDialog.h
+++ b/src/ui/dialog/controller/GnuPGControllerDialog.h
@@ -83,7 +83,7 @@ class GnuPGControllerDialog : public GeneralDialog {
private:
std::shared_ptr<Ui_GnuPGControllerDialog> ui_; ///<
- int restart_needed_{0}; ///<
+ int restart_mode_{0}; ///<
QString custom_key_database_path_;
QString custom_gnupg_path_;