From ca33c0a0a8ce31b13137f74ba15e226b3855b75a Mon Sep 17 00:00:00 2001 From: Alexander Tkachev Date: Thu, 14 Jul 2016 14:55:50 +0600 Subject: CLOUD: Fix FolderDownloadRequest It now sends kDownloadEndedCmd on success without waiting to be destructed. --- backends/cloud/folderdownloadrequest.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'backends') 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; } -- cgit v1.2.3