From ecfced822ef36eea652b0db29a3b5174b6df76ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 31 Mar 2009 09:32:31 +0000 Subject: [PATCH] resolve missing last proxy in proxy detection --- proxyface/windoze.hxx | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/proxyface/windoze.hxx b/proxyface/windoze.hxx index aad9cde..4ab8312 100644 --- a/proxyface/windoze.hxx +++ b/proxyface/windoze.hxx @@ -11,11 +11,7 @@ #include #include -#ifdef QT_NETWORK_LIB -#include // debug -#else #include // debug -#endif namespace proxy { @@ -54,14 +50,10 @@ namespace proxy { throw exc::error(); std::wstring list(proxyInfo.lpszProxy); -#ifdef QT_NETWORK_LIB - qDebug()<<"LIST=\""<0) + res.push_back(Proxy(type, + std::string(host.begin(), host.end()), + std::string(port.begin(), port.end()))); } if (!res.size()) res.push_back(Proxy());