diff options
author | Saturneric <[email protected]> | 2022-01-04 12:34:05 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-04 12:34:40 +0000 |
commit | 22308b720a2c03b69d07cf3133c34b40d04c5904 (patch) | |
tree | 215cb56c3f2c83507cffbf19b6398562330e0bae /src/ui/settings/SettingsDialog.cpp | |
parent | <fix, refactor>(core, ui): fixed known bugs for v2.0.4-beta.1. (diff) | |
download | GpgFrontend-22308b720a2c03b69d07cf3133c34b40d04c5904.tar.gz GpgFrontend-22308b720a2c03b69d07cf3133c34b40d04c5904.zip |
<feature, fix, refactor>(core, ui): fixed known bugs for v2.0.4-beta.1 and add network settings.
1. proxy settings.
2. network capability.
3. fixed known bugs.
4. improve ui.
Diffstat (limited to 'src/ui/settings/SettingsDialog.cpp')
-rw-r--r-- | src/ui/settings/SettingsDialog.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/ui/settings/SettingsDialog.cpp b/src/ui/settings/SettingsDialog.cpp index 7b8a8624..01e4094f 100644 --- a/src/ui/settings/SettingsDialog.cpp +++ b/src/ui/settings/SettingsDialog.cpp @@ -29,6 +29,7 @@ #include "SettingsAppearance.h" #include "SettingsGeneral.h" #include "SettingsKeyServer.h" +#include "SettingsNetwork.h" #ifdef SMTP_SUPPORT #include "SettingsSendMail.h" @@ -37,13 +38,15 @@ namespace GpgFrontend::UI { SettingsDialog::SettingsDialog(QWidget* parent) : QDialog(parent) { - tabWidget = new QTabWidget; + + tabWidget = new QTabWidget(); generalTab = new GeneralTab(); - appearanceTab = new AppearanceTab; + appearanceTab = new AppearanceTab(); #ifdef SMTP_SUPPORT - sendMailTab = new SendMailTab; + sendMailTab = new SendMailTab(); #endif - keyserverTab = new KeyserverTab; + keyserverTab = new KeyserverTab(); + networkTab = new NetworkTab(); #ifdef ADVANCED_SUPPORT advancedTab = new AdvancedTab; #endif @@ -55,6 +58,7 @@ SettingsDialog::SettingsDialog(QWidget* parent) : QDialog(parent) { #endif tabWidget->addTab(keyserverTab, _("Key Server")); // tabWidget->addTab(gpgPathsTab, _("Gpg paths")); + tabWidget->addTab(networkTab, _("Network")); #ifdef ADVANCED_SUPPORT tabWidget->addTab(advancedTab, _("Advanced")); #endif @@ -114,6 +118,7 @@ void SettingsDialog::slotAccept() { #endif appearanceTab->applySettings(); keyserverTab->applySettings(); + networkTab->applySettings(); #ifdef ADVANCED_SUPPORT advancedTab->applySettings(); #endif |