diff options
author | Sergey Starosek <sergey.starosek@gmail.com> | 2014-06-26 22:21:02 +0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-26 15:44:51 -0700 |
commit | b05d15c5a9cc16011ac4dc84601559e496a172f9 (patch) | |
tree | 6c66d065e88f1139b2cb9d12798217c69155bc02 | |
parent | 5a98a221cc926c7a378dcce20a22284cb7d90030 (diff) | |
download | subsurface-b05d15c5a9cc16011ac4dc84601559e496a172f9.tar.gz |
Make system proxy as default
On first start (no settings saved yet) system-wide proxy should be
default.
Proposed-by: Thiago Macieira <thiago@macieira.org>
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/preferences.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/preferences.cpp b/qt-ui/preferences.cpp index 9a5550723..6d16b810a 100644 --- a/qt-ui/preferences.cpp +++ b/qt-ui/preferences.cpp @@ -345,7 +345,7 @@ void PreferencesDialog::loadSettings() s.endGroup(); s.beginGroup("Network"); - GET_INT_DEF("proxy_type", proxy_type, QNetworkProxy::NoProxy); + GET_INT_DEF("proxy_type", proxy_type, QNetworkProxy::DefaultProxy); GET_TXT("proxy_host", proxy_host); GET_INT("proxy_port", proxy_port); GET_BOOL("proxy_auth", proxy_auth); |