diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-26 00:47:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-26 00:47:49 +0300 |
commit | fb7c6d3e40a25b68b4947a30ef4678fefc086593 (patch) | |
tree | 4889d7e363e4ec1ea0767e03084ec31b47f3d068 /src | |
parent | 45e484cc00fd131c2b3769a2277dc9b94721f09f (diff) | |
download | plus-fb7c6d3e40a25b68b4947a30ef4678fefc086593.tar.gz plus-fb7c6d3e40a25b68b4947a30ef4678fefc086593.tar.bz2 plus-fb7c6d3e40a25b68b4947a30ef4678fefc086593.tar.xz plus-fb7c6d3e40a25b68b4947a30ef4678fefc086593.zip |
Ignore error on news downloading.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/windows/updaterwindow.cpp | 3 |
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; |