aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorAlexander Tkachev2016-07-14 14:55:50 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitca33c0a0a8ce31b13137f74ba15e226b3855b75a (patch)
tree8dfe5238ff8b717c92c91361a28fc9cbb384147a /backends
parentd863dad055acbc066d86f7fbfa054e7f4c2dd7b2 (diff)
downloadscummvm-rg350-ca33c0a0a8ce31b13137f74ba15e226b3855b75a.tar.gz
scummvm-rg350-ca33c0a0a8ce31b13137f74ba15e226b3855b75a.tar.bz2
scummvm-rg350-ca33c0a0a8ce31b13137f74ba15e226b3855b75a.zip
CLOUD: Fix FolderDownloadRequest
It now sends kDownloadEndedCmd on success without waiting to be destructed.
Diffstat (limited to 'backends')
-rw-r--r--backends/cloud/folderdownloadrequest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/cloud/folderdownloadrequest.cpp b/backends/cloud/folderdownloadrequest.cpp
index c77fc27b35..f5c872b461 100644
--- a/backends/cloud/folderdownloadrequest.cpp
+++ b/backends/cloud/folderdownloadrequest.cpp
@@ -99,6 +99,7 @@ void FolderDownloadRequest::fileDownloadedErrorCallback(Networking::ErrorRespons
void FolderDownloadRequest::downloadNextFile() {
do {
if (_pendingFiles.empty()) {
+ sendCommand(GUI::kDownloadEndedCmd, 0);
finishDownload(_failedFiles);
return;
}