diff options
author | saturneric <[email protected]> | 2024-04-21 19:49:04 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-04-21 19:49:04 +0000 |
commit | 571a2906063739067e40a02aadd8c265082359de (patch) | |
tree | 5ac57f777ec38f6a5f328da4e3df6ad6cc010aff /src/ui/dialog/settings/SettingsNetwork.cpp | |
parent | fix: could not determine the path to the executable based on the desktop file (diff) | |
parent | feat: adapt linux appimage of modules loading (diff) | |
download | GpgFrontend-571a2906063739067e40a02aadd8c265082359de.tar.gz GpgFrontend-571a2906063739067e40a02aadd8c265082359de.zip |
Merge branch 'dev/2.1.2/module' into develop
Diffstat (limited to '')
-rw-r--r-- | src/ui/dialog/settings/SettingsNetwork.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ui/dialog/settings/SettingsNetwork.cpp b/src/ui/dialog/settings/SettingsNetwork.cpp index c7e1e9f6..a923e5a2 100644 --- a/src/ui/dialog/settings/SettingsNetwork.cpp +++ b/src/ui/dialog/settings/SettingsNetwork.cpp @@ -29,6 +29,7 @@ #include "SettingsNetwork.h" #include "core/function/GlobalSettingStation.h" +#include "core/module/ModuleManager.h" #include "ui/thread/ProxyConnectionTestTask.h" #include "ui_NetworkSettings.h" @@ -86,8 +87,11 @@ GpgFrontend::UI::NetworkTab::NetworkTab(QWidget *parent) ui_->forbidALLGnuPGNetworkConnectionCheckBox->setText( tr("Forbid all GnuPG network connection.")); - ui_->prohibitUpdateCheck->setText( - tr("Prohibit checking for version updates when the program starts.")); + + if (Module::IsModuleActivate(kVersionCheckingModuleID)) { + ui_->prohibitUpdateCheck->setText( + tr("Prohibit checking for version updates when the program starts.")); + } ui_->autoImportMissingKeyCheckBox->setText( tr("Automatically import a missing key for signature verification.")); ui_->networkAbilityTipsLabel->setText( |