aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud
diff options
context:
space:
mode:
Diffstat (limited to 'backends/cloud')
-rw-r--r--backends/cloud/savessyncrequest.cpp2
-rw-r--r--backends/cloud/savessyncrequest.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/backends/cloud/savessyncrequest.cpp b/backends/cloud/savessyncrequest.cpp
index b952681bff..a99c229925 100644
--- a/backends/cloud/savessyncrequest.cpp
+++ b/backends/cloud/savessyncrequest.cpp
@@ -33,7 +33,7 @@ namespace Cloud {
const char *SavesSyncRequest::TIMESTAMPS_FILENAME = "timestamps";
SavesSyncRequest::SavesSyncRequest(Storage *storage, Storage::BoolCallback callback, Networking::ErrorCallback ecb):
- Request(nullptr, ecb), _storage(storage), _boolCallback(callback),
+ Request(nullptr, ecb), CommandSender(nullptr), _storage(storage), _boolCallback(callback),
_workingRequest(nullptr), _ignoreCallback(false) {
start();
}
diff --git a/backends/cloud/savessyncrequest.h b/backends/cloud/savessyncrequest.h
index 6e74688493..397a8cbcac 100644
--- a/backends/cloud/savessyncrequest.h
+++ b/backends/cloud/savessyncrequest.h
@@ -27,10 +27,11 @@
#include "backends/cloud/storage.h"
#include "common/hashmap.h"
#include "common/hash-str.h"
+#include "gui/object.h"
namespace Cloud {
-class SavesSyncRequest: public Networking::Request {
+class SavesSyncRequest: public Networking::Request, public GUI::CommandSender {
const uint32 INVALID_TIMESTAMP = UINT_MAX;
static const char *TIMESTAMPS_FILENAME;