diff options
author | Alexander Tkachev | 2016-07-14 14:55:50 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | ca33c0a0a8ce31b13137f74ba15e226b3855b75a (patch) | |
tree | 8dfe5238ff8b717c92c91361a28fc9cbb384147a /backends/cloud/folderdownloadrequest.cpp | |
parent | d863dad055acbc066d86f7fbfa054e7f4c2dd7b2 (diff) | |
download | scummvm-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/cloud/folderdownloadrequest.cpp')
-rw-r--r-- | backends/cloud/folderdownloadrequest.cpp | 1 |
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; } |