diff options
author | Saturneric <[email protected]> | 2023-03-30 17:17:07 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2023-03-30 17:17:07 +0000 |
commit | 19c787b426e9a8c22f481223a93af163f6ef15ac (patch) | |
tree | 609dc18c84c31182749e50d5db56d678b0aab808 | |
parent | fix: improve ui of about menu (diff) | |
download | GpgFrontend-19c787b426e9a8c22f481223a93af163f6ef15ac.tar.gz GpgFrontend-19c787b426e9a8c22f481223a93af163f6ef15ac.zip |
fix: correct ui representation
-rw-r--r-- | src/ui/dialog/help/AboutDialog.cpp | 6 | ||||
-rw-r--r-- | src/ui/dialog/settings/SettingsGeneral.cpp | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/ui/dialog/help/AboutDialog.cpp b/src/ui/dialog/help/AboutDialog.cpp index 3cf6c2a2..6bd0fa49 100644 --- a/src/ui/dialog/help/AboutDialog.cpp +++ b/src/ui/dialog/help/AboutDialog.cpp @@ -83,9 +83,9 @@ InfoTab::InfoTab(QWidget* parent) : QWidget(parent) { "<center><b>" + qApp->applicationVersion() + "</b></center>" + "<center>" + GIT_VERSION + "</center>" + "<br><center>" + _("GpgFrontend is an easy-to-use, compact, cross-platform, " - "and installation-free gpg front-end tool." - "It visualizes most of the common operations of gpg commands." - "It's licensed under the GPL v3") + + "and installation-free GnuPG Frontend." + "It visualizes most of the common operations of GnuPG." + "GpgFrontend is licensed under the GPLv3") + "<br><br>" "<b>" + _("Developer:") + "</b><br>" + "Saturneric" + "<br><br>" + diff --git a/src/ui/dialog/settings/SettingsGeneral.cpp b/src/ui/dialog/settings/SettingsGeneral.cpp index 623dae79..17d9251c 100644 --- a/src/ui/dialog/settings/SettingsGeneral.cpp +++ b/src/ui/dialog/settings/SettingsGeneral.cpp @@ -47,7 +47,7 @@ GeneralTab::GeneralTab(QWidget* parent) ui_->saveCheckedKeysCheckBox->setText( _("Save checked private keys on exit and restore them on next start.")); ui_->clearGpgPasswordCacheCheckBox->setText( - "Clear gpg password cache when closing GpgFrontend."); + _("Clear gpg password cache when closing GpgFrontend.")); ui_->importConfirmationBox->setTitle(_("Operation")); ui_->longerKeyExpirationDateCheckBox->setText( @@ -169,6 +169,12 @@ GeneralTab::GeneralTab(QWidget* parent) } }); + connect(ui_->usePinentryAsPasswordInputDialogCheckBox, + &QCheckBox::stateChanged, this, [=](int state) { + // announce the restart + this->slot_gnupg_stettings_changed(); + }); + SetSettings(); } |