aboutsummaryrefslogtreecommitdiff
path: root/jobs/syncjob.h
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/syncjob.h')
-rw-r--r--jobs/syncjob.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/jobs/syncjob.h b/jobs/syncjob.h
index 19dd4646..6e6b4f7c 100644
--- a/jobs/syncjob.h
+++ b/jobs/syncjob.h
@@ -58,7 +58,6 @@ namespace QMatrixClient
class ConnectionData;
class SyncJob: public BaseJob
{
- Q_OBJECT
public:
SyncJob(ConnectionData* connection, QString since=QString());
virtual ~SyncJob();
@@ -74,7 +73,7 @@ namespace QMatrixClient
protected:
QString apiPath() const override;
QUrlQuery query() const override;
- void parseJson(const QJsonDocument& data) override;
+ Status parseJson(const QJsonDocument& data) override;
private:
class Private;
@@ -82,4 +81,4 @@ namespace QMatrixClient
};
}
-#endif // QMATRIXCLIENT_GETEVENTSJOB_H
+#endif // QMATRIXCLIENT_SYNCJOB_H