Divided into steps, more output; refs #40
This commit is contained in:
@@ -33,10 +33,12 @@ namespace proxy {
|
|||||||
|
|
||||||
qDebug()<<"Query System Proxies for "<<QString::fromStdString(url)
|
qDebug()<<"Query System Proxies for "<<QString::fromStdString(url)
|
||||||
<<" ...";
|
<<" ...";
|
||||||
|
qDebug()<<" ... 1. setup query"
|
||||||
|
QNetworkProxyQuery proxyQuery(QUrl(QString::fromStdString(url)));
|
||||||
|
qDebug()<<" ... 2. query factory"
|
||||||
QList<QNetworkProxy> proxies
|
QList<QNetworkProxy> proxies
|
||||||
(QNetworkProxyFactory::systemProxyForQuery
|
(QNetworkProxyFactory::systemProxyForQuery(query));
|
||||||
(QNetworkProxyQuery(QUrl(QString::fromStdString(url)))));
|
qDebug()<<"Found "<<proxies.size()<<" System Proxies.";
|
||||||
qDebug()<<"Found "<<proxies.size()<<" System Proxies ...";
|
|
||||||
|
|
||||||
for (QList<QNetworkProxy>::const_iterator proxy(proxies.begin());
|
for (QList<QNetworkProxy>::const_iterator proxy(proxies.begin());
|
||||||
proxy!=proxies.end(); ++proxy) {
|
proxy!=proxies.end(); ++proxy) {
|
||||||
|
Reference in New Issue
Block a user