aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/dropbox
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-14 21:16:11 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit8a84263d2b7f30bdb87a0b49c1d84454ece38b21 (patch)
treedccdb1ad93fbf2eaabc8b29f63df4cad1a9cd286 /backends/cloud/dropbox
parent0aea8db7e1a59e8cf88436f78019685c9aff6332 (diff)
downloadscummvm-rg350-8a84263d2b7f30bdb87a0b49c1d84454ece38b21.tar.gz
scummvm-rg350-8a84263d2b7f30bdb87a0b49c1d84454ece38b21.tar.bz2
scummvm-rg350-8a84263d2b7f30bdb87a0b49c1d84454ece38b21.zip
CLOUD: Do saves sync on Storage connect
Diffstat (limited to 'backends/cloud/dropbox')
-rw-r--r--backends/cloud/dropbox/dropboxstorage.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/cloud/dropbox/dropboxstorage.cpp b/backends/cloud/dropbox/dropboxstorage.cpp
index b677b56ff9..d77e958da7 100644
--- a/backends/cloud/dropbox/dropboxstorage.cpp
+++ b/backends/cloud/dropbox/dropboxstorage.cpp
@@ -76,6 +76,7 @@ void DropboxStorage::codeFlowComplete(Networking::JsonResponse response) {
if (json) {
Common::JSONObject result = json->asObject();
if (!result.contains("access_token") || !result.contains("uid")) {
+ warning(json->stringify(true).c_str());
warning("Bad response, no token/uid passed");
} else {
_token = result.getVal("access_token")->asString();
@@ -83,8 +84,6 @@ void DropboxStorage::codeFlowComplete(Networking::JsonResponse response) {
CloudConfig.removeKey("dropbox_code");
CloudMan.replaceStorage(this, kStorageDropboxId);
CloudConfig.flushToDisk();
- debug("Done! You can use Dropbox now! Look:");
- CloudMan.testFeature();
}
delete json;