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