From 3fc7b8ce0caf1e38c86db1fe27e0d3f0f431055a Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Sat, 5 Sep 2009 15:06:32 +0200 Subject: [PATCH] Merged HTTP proxy support by Kiwamu Okabe --- src/global.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/global.h b/src/global.h index 2736ac1..c96d3d1 100644 --- a/src/global.h +++ b/src/global.h @@ -65,10 +65,12 @@ namespace The { proxy_port = http_proxy_list[1]; } + /* qDebug() << "proxy_host: " << proxy_host; qDebug() << "proxy_port: " << proxy_port; qDebug() << "proxy_user: " << proxy_user; qDebug() << "proxy_pass: " << proxy_pass; + */ // set proxy setting if (!proxy_host.isEmpty()) { @@ -84,6 +86,8 @@ namespace The { if (!proxy_pass.isEmpty()) { proxy.setPassword(proxy_pass); } + + qDebug() << "Using HTTP proxy:" << http_proxy_env; QNetworkProxy::setApplicationProxy(proxy); } } -- 2.39.5