summaryrefslogtreecommitdiffstats
path: root/src/sdk/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdk/main.cpp')
-rw-r--r--src/sdk/main.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/sdk/main.cpp b/src/sdk/main.cpp
index 4485d9ce2..819d512c2 100644
--- a/src/sdk/main.cpp
+++ b/src/sdk/main.cpp
@@ -200,16 +200,7 @@ int main(int argc, char *argv[])
if (parser.isSet(QLatin1String(CommandLineOptions::Proxy))) {
// Make sure we honor the system's proxy settings
-#if defined(Q_OS_UNIX) && !defined(Q_OS_OSX)
- QUrl proxyUrl(QString::fromLatin1(qgetenv("http_proxy")));
- if (proxyUrl.isValid()) {
- QNetworkProxy proxy(QNetworkProxy::HttpProxy, proxyUrl.host(), proxyUrl.port(),
- proxyUrl.userName(), proxyUrl.password());
- QNetworkProxy::setApplicationProxy(proxy);
- }
-#else
QNetworkProxyFactory::setUseSystemConfiguration(true);
-#endif
}
if (parser.isSet(QLatin1String(CommandLineOptions::NoProxy)))