Crash on Windows, add more output; refs #40
This commit is contained in:
1 parent
5619a9688b
commit
0bc4881e75
1 file changed
+3
-1
@@ -28,13 +28,15 @@ namespace proxy {
|
||||
virtual List proxies(const std::string& url) {
|
||||
|
||||
qDebug()<<"************ QTPROXY ********************";
|
||||
qDebug()<<"************ QTPROXY ********************";
|
||||
|
||||
List res;
|
||||
|
||||
qDebug()<<"Query System Proxies for "<<QString::fromStdString(url)
|
||||
<<" ...";
|
||||
QList<QNetworkProxy> proxies
|
||||
(QNetworkProxyFactory::systemProxyForQuery
|
||||
(QNetworkProxyQuery(QUrl(QString::fromStdString(url)))));
|
||||
qDebug()<<"Found "<<proxies.size()<<" System Proxies ...";
|
||||
|
||||
for (QList<QNetworkProxy>::const_iterator proxy(proxies.begin());
|
||||
proxy!=proxies.end(); ++proxy) {
|
||||
|
||||
Reference in new issue
Block a user