From: Flavio Tordini Date: Sat, 5 Sep 2009 13:06:32 +0000 (+0200) Subject: Merged HTTP proxy support by Kiwamu Okabe X-Git-Tag: 0.6~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3fc7b8ce0caf1e38c86db1fe27e0d3f0f431055a;p=minitube Merged HTTP proxy support by Kiwamu Okabe --- 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); } }