diff --git a/src/gui/updater/ocupdater.cpp b/src/gui/updater/ocupdater.cpp index 21e57ef80..af7b7c2ed 100644 --- a/src/gui/updater/ocupdater.cpp +++ b/src/gui/updater/ocupdater.cpp @@ -223,6 +223,7 @@ void OCUpdater::slotVersionInfoArrived() reply->deleteLater(); if (reply->error() != QNetworkReply::NoError) { qCWarning(lcUpdater) << "Failed to reach version check url: " << reply->errorString(); + setDownloadState(DownloadTimedOut); return; } @@ -234,6 +235,7 @@ void OCUpdater::slotVersionInfoArrived() versionInfoArrived(_updateInfo); } else { qCWarning(lcUpdater) << "Could not parse update information."; + setDownloadState(DownloadTimedOut); } }