diff options
author | saturneric <[email protected]> | 2025-02-03 16:37:37 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-02-03 16:37:37 +0000 |
commit | 5acc1fda6f915cac06e75cf017df406239dd28a2 (patch) | |
tree | 016e28525f82be889d90dbbda83afdea9ac530ba /src/ui/dialog/settings/SettingsGeneral.cpp | |
parent | chore: upgrade to v2.1.7 (diff) | |
download | GpgFrontend-5acc1fda6f915cac06e75cf017df406239dd28a2.tar.gz GpgFrontend-5acc1fda6f915cac06e75cf017df406239dd28a2.zip |
chore: remove setting 'basic/longer_expiration_date'
Diffstat (limited to 'src/ui/dialog/settings/SettingsGeneral.cpp')
-rw-r--r-- | src/ui/dialog/settings/SettingsGeneral.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ui/dialog/settings/SettingsGeneral.cpp b/src/ui/dialog/settings/SettingsGeneral.cpp index 7df9ff1c..73d8bccd 100644 --- a/src/ui/dialog/settings/SettingsGeneral.cpp +++ b/src/ui/dialog/settings/SettingsGeneral.cpp @@ -48,8 +48,6 @@ GeneralTab::GeneralTab(QWidget* parent) "crash.")); ui_->importConfirmationBox->setTitle(tr("Operation")); - ui_->longerKeyExpirationDateCheckBox->setText( - tr("Enable to use longer key expiration date.")); ui_->importConfirmationCheckBox->setText( tr("Import files dropped on the Key List without confirmation.")); ui_->disableLoadingModulesCheckBox->setText( @@ -121,11 +119,6 @@ void GeneralTab::SetSettings() { ui_->restoreTextEditorPageCheckBox->setCheckState( restore_text_editor_page ? Qt::Checked : Qt::Unchecked); - auto longer_expiration_date = - settings.value("basic/longer_expiration_date", false).toBool(); - ui_->longerKeyExpirationDateCheckBox->setCheckState( - longer_expiration_date ? Qt::Checked : Qt::Unchecked); - auto confirm_import_keys = settings.value("basic/confirm_import_keys", false).toBool(); ui_->importConfirmationCheckBox->setCheckState( @@ -149,8 +142,6 @@ void GeneralTab::SetSettings() { void GeneralTab::ApplySettings() { auto settings = GpgFrontend::GetSettings(); - settings.setValue("basic/longer_expiration_date", - ui_->longerKeyExpirationDateCheckBox->isChecked()); settings.setValue("basic/clear_gpg_password_cache", ui_->clearGpgPasswordCacheCheckBox->isChecked()); settings.setValue("basic/restore_text_editor_page", |