diff --git a/discovery.cpp b/discovery.cpp index c9904cda02..5721a27718 100644 --- a/discovery.cpp +++ b/discovery.cpp @@ -248,7 +248,7 @@ void DeRestPluginPrivate::internetDiscoveryFinishedRequest(QNetworkReply *reply) if (gwProxyAddress != QLatin1String("none") && gwProxyPort > 0) { - if (inetDiscoveryManager->proxy().type() == QNetworkProxy::NoProxy) + if (inetDiscoveryManager->proxy().type() != QNetworkProxy::HttpProxy) { //first fail, speed up retry QTimer::singleShot(5000, this, SLOT(internetDiscoveryTimerFired()));