diff options
author | Alexander Tkachev | 2016-06-08 12:45:58 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 60add0df1b63dbd31b88edcabf0769eb675efab0 (patch) | |
tree | a09c1885b965c726aeb1e75c57fe9a3014ac4438 /backends/cloud/folderdownloadrequest.cpp | |
parent | 7e6a89c141d621b5caf8c66a58ecbcf60b2d52c1 (diff) | |
download | scummvm-rg350-60add0df1b63dbd31b88edcabf0769eb675efab0.tar.gz scummvm-rg350-60add0df1b63dbd31b88edcabf0769eb675efab0.tar.bz2 scummvm-rg350-60add0df1b63dbd31b88edcabf0769eb675efab0.zip |
CLOUD: Update Requests to use StorageFile::id()
Only two places to update, as others still require id resolving.
Diffstat (limited to 'backends/cloud/folderdownloadrequest.cpp')
-rw-r--r-- | backends/cloud/folderdownloadrequest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/cloud/folderdownloadrequest.cpp b/backends/cloud/folderdownloadrequest.cpp index 19f6c6c9b7..905b0c79f4 100644 --- a/backends/cloud/folderdownloadrequest.cpp +++ b/backends/cloud/folderdownloadrequest.cpp @@ -109,8 +109,8 @@ void FolderDownloadRequest::downloadNextFile() { localPath = _localDirectoryPath + "/" + localPath; } debug("%s -> %s", remotePath.c_str(), localPath.c_str()); - _workingRequest = _storage->download( - remotePath, localPath, + _workingRequest = _storage->downloadById( + _currentFile.id(), localPath, new Common::Callback<FolderDownloadRequest, Storage::BoolResponse>(this, &FolderDownloadRequest::fileDownloadedCallback), new Common::Callback<FolderDownloadRequest, Networking::ErrorResponse>(this, &FolderDownloadRequest::fileDownloadedErrorCallback) ); |