aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/keypair_details/KeySetExpireDateDialog.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-10-17 18:06:44 +0000
committersaturneric <[email protected]>2023-10-17 18:06:44 +0000
commit9eb339dd2b463cc86bbeed73e349afe0b3ad7a23 (patch)
tree7383cb1c44828e33d05d32f07dff595c8e27d380 /src/ui/dialog/keypair_details/KeySetExpireDateDialog.cpp
parentfix: improve module (diff)
downloadGpgFrontend-9eb339dd2b463cc86bbeed73e349afe0b3ad7a23.tar.gz
GpgFrontend-9eb339dd2b463cc86bbeed73e349afe0b3ad7a23.zip
refactor: use piml tech to rewrite GlobalSettingsStation
Diffstat (limited to 'src/ui/dialog/keypair_details/KeySetExpireDateDialog.cpp')
-rw-r--r--src/ui/dialog/keypair_details/KeySetExpireDateDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/keypair_details/KeySetExpireDateDialog.cpp b/src/ui/dialog/keypair_details/KeySetExpireDateDialog.cpp
index e3eb755a..ff4ed77f 100644
--- a/src/ui/dialog/keypair_details/KeySetExpireDateDialog.cpp
+++ b/src/ui/dialog/keypair_details/KeySetExpireDateDialog.cpp
@@ -100,7 +100,7 @@ void KeySetExpireDateDialog::slot_confirm() {
void KeySetExpireDateDialog::init() {
ui_->setupUi(this);
- auto& settings = GlobalSettingStation::GetInstance().GetUISettings();
+ auto& settings = GlobalSettingStation::GetInstance().GetMainSettings();
bool longer_expiration_date = false;
try {