From b05d15c5a9cc16011ac4dc84601559e496a172f9 Mon Sep 17 00:00:00 2001 From: Sergey Starosek Date: Thu, 26 Jun 2014 22:21:02 +0400 Subject: Make system proxy as default On first start (no settings saved yet) system-wide proxy should be default. Proposed-by: Thiago Macieira Signed-off-by: Sergey Starosek Signed-off-by: Dirk Hohndel --- qt-ui/preferences.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/preferences.cpp') 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); -- cgit v1.2.3-70-g09d2