summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-26 00:47:49 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-26 00:47:49 +0300
commitfb7c6d3e40a25b68b4947a30ef4678fefc086593 (patch)
tree4889d7e363e4ec1ea0767e03084ec31b47f3d068 /src/gui
parent45e484cc00fd131c2b3769a2277dc9b94721f09f (diff)
downloadplus-fb7c6d3e40a25b68b4947a30ef4678fefc086593.tar.gz
plus-fb7c6d3e40a25b68b4947a30ef4678fefc086593.tar.bz2
plus-fb7c6d3e40a25b68b4947a30ef4678fefc086593.tar.xz
plus-fb7c6d3e40a25b68b4947a30ef4678fefc086593.zip
Ignore error on news downloading.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/updaterwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp
index b38f19943..45c18b21b 100644
--- a/src/gui/windows/updaterwindow.cpp
+++ b/src/gui/windows/updaterwindow.cpp
@@ -484,7 +484,8 @@ int UpdaterWindow::updateProgress(void *ptr, DownloadStatus::Type status,
else if (status == DownloadStatus::Error ||
status == DownloadStatus::Cancelled)
{
- if (uw->mDownloadStatus == UPDATE_COMPLETE)
+ if (uw->mDownloadStatus == UPDATE_COMPLETE
+ || uw->mDownloadStatus == UPDATE_NEWS)
{ // ignoring error in last state (was UPDATE_PATCH)
uw->mDownloadStatus = UPDATE_COMPLETE;
uw->mDownloadComplete = true;