Skip to content

Commit

Permalink
Fix set proxy in error case
Browse files Browse the repository at this point in the history
  • Loading branch information
manup committed Mar 15, 2018
1 parent 08eeb11 commit 6f220a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discovery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
Expand Down

0 comments on commit 6f220a0

Please sign in to comment.