aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/savessyncrequest.cpp
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-08 12:45:58 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit60add0df1b63dbd31b88edcabf0769eb675efab0 (patch)
treea09c1885b965c726aeb1e75c57fe9a3014ac4438 /backends/cloud/savessyncrequest.cpp
parent7e6a89c141d621b5caf8c66a58ecbcf60b2d52c1 (diff)
downloadscummvm-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/savessyncrequest.cpp')
-rw-r--r--backends/cloud/savessyncrequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/cloud/savessyncrequest.cpp b/backends/cloud/savessyncrequest.cpp
index 1d4ec4c2ee..cdf1dbac07 100644
--- a/backends/cloud/savessyncrequest.cpp
+++ b/backends/cloud/savessyncrequest.cpp
@@ -227,7 +227,7 @@ void SavesSyncRequest::downloadNextFile() {
///////
debug("downloading %s (%d %%)", _currentDownloadingFile.name().c_str(), (int)(getProgress() * 100));
///////
- _workingRequest = _storage->download(_currentDownloadingFile.path(), concatWithSavesPath(_currentDownloadingFile.name()),
+ _workingRequest = _storage->downloadById(_currentDownloadingFile.id(), concatWithSavesPath(_currentDownloadingFile.name()),
new Common::Callback<SavesSyncRequest, Storage::BoolResponse>(this, &SavesSyncRequest::fileDownloadedCallback),
new Common::Callback<SavesSyncRequest, Networking::ErrorResponse>(this, &SavesSyncRequest::fileDownloadedErrorCallback)
);