aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/GeneralDialog.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-10-25 10:26:26 +0000
committersaturneric <[email protected]>2023-10-25 10:26:26 +0000
commit124929609eabff19359caad276a10f1026793c0f (patch)
treec743376267928e60291b4f14bd78bd2b76f955c7 /src/ui/dialog/GeneralDialog.cpp
parentfeat: use rt listen publish event function in main windows' app version upgra... (diff)
downloadGpgFrontend-124929609eabff19359caad276a10f1026793c0f.tar.gz
GpgFrontend-124929609eabff19359caad276a10f1026793c0f.zip
fix: solve some code tidy issues
Diffstat (limited to '')
-rw-r--r--src/ui/dialog/GeneralDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/GeneralDialog.cpp b/src/ui/dialog/GeneralDialog.cpp
index 0e71140e..3556c403 100644
--- a/src/ui/dialog/GeneralDialog.cpp
+++ b/src/ui/dialog/GeneralDialog.cpp
@@ -31,7 +31,7 @@
#include "ui/struct/SettingsObject.h"
GpgFrontend::UI::GeneralDialog::GeneralDialog(std::string name, QWidget *parent)
- : name_(std::move(name)), QDialog(parent) {
+ : QDialog(parent), name_(std::move(name)) {
slot_restore_settings();
connect(this, &QDialog::finished, this, &GeneralDialog::slot_save_settings);
}