|
|
|
@ -318,8 +318,7 @@ namespace proxy { |
|
|
|
|
_timeout2.setInterval(timeout2); |
|
|
|
|
_timeout1.setSingleShot(true); |
|
|
|
|
_timeout1.setInterval(timeout1); |
|
|
|
|
timeout(); |
|
|
|
|
// @todo add again after test _timeout1.start();
|
|
|
|
|
_timeout1.start(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//! If Qt Network is available you may check the proxies found
|
|
|
|
@ -520,10 +519,10 @@ namespace proxy { |
|
|
|
|
QString::fromStdString(it->host), it->port); |
|
|
|
|
setupProxyCheck(prxy, _url); |
|
|
|
|
} |
|
|
|
|
/// @todo add again after test QNetworkProxy directProxy(QNetworkProxy::NoProxy);
|
|
|
|
|
/// @todo add again after test setupProxyCheck(directProxy, _url);
|
|
|
|
|
/// @todo add again after test QNetworkProxy defaultProxy;
|
|
|
|
|
/// @todo add again after test setupProxyCheck(defaultProxy, _url);
|
|
|
|
|
QNetworkProxy directProxy(QNetworkProxy::NoProxy); |
|
|
|
|
setupProxyCheck(directProxy, _url); |
|
|
|
|
QNetworkProxy defaultProxy; |
|
|
|
|
setupProxyCheck(defaultProxy, _url); |
|
|
|
|
_timeout2.start(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|