aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/controller/GnuPGControllerDialog.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-05-03 18:17:25 +0000
committersaturneric <[email protected]>2024-05-03 18:17:25 +0000
commit1d9cffa54afdca117a43465fb350ee548ec2e41f (patch)
tree4facf6641e312b39d19c1388c87eb702ea720ace /src/ui/dialog/controller/GnuPGControllerDialog.cpp
parentMerge remote-tracking branch 'origin/main' into develop (diff)
downloadGpgFrontend-1d9cffa54afdca117a43465fb350ee548ec2e41f.tar.gz
GpgFrontend-1d9cffa54afdca117a43465fb350ee548ec2e41f.zip
fix: discard changes but text still remains
Diffstat (limited to 'src/ui/dialog/controller/GnuPGControllerDialog.cpp')
-rw-r--r--src/ui/dialog/controller/GnuPGControllerDialog.cpp4
1 files changed, 2 insertions, 2 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 {