]> git.sur5r.net Git - minitube/commitdiff
Merged HTTP proxy support by Kiwamu Okabe
authorFlavio Tordini <flavio.tordini@gmail.com>
Sat, 5 Sep 2009 13:06:32 +0000 (15:06 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Sat, 5 Sep 2009 13:06:32 +0000 (15:06 +0200)
src/global.h

index 2736ac1cbbcc3959e9d940077f564e0a3d6fe996..c96d3d1054c92946394c74fd671c227328dd9fe3 100644 (file)
@@ -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);
             }
         }