From 6f220a0df24b58ad9d68bc8a5fe36a41efc86a36 Mon Sep 17 00:00:00 2001 From: Manuel Pietschmann Date: Thu, 15 Mar 2018 09:05:35 +0100 Subject: [PATCH] Fix set proxy in error case --- discovery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()));