aboutsummaryrefslogtreecommitdiff
path: root/jobs/syncjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/syncjob.cpp')
-rw-r--r--jobs/syncjob.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/jobs/syncjob.cpp b/jobs/syncjob.cpp
index 1e71e215..bbec968e 100644
--- a/jobs/syncjob.cpp
+++ b/jobs/syncjob.cpp
@@ -62,8 +62,7 @@ SyncDataList&& SyncData::takeRoomData()
BaseJob::Status SyncJob::parseJson(const QJsonDocument& data)
{
- d->parseJson(data);
- return Success;
+ return d->parseJson(data);
}
BaseJob::Status SyncData::parseJson(const QJsonDocument &data) {
@@ -89,7 +88,7 @@ BaseJob::Status SyncData::parseJson(const QJsonDocument &data) {
roomData.emplace_back(rkey, roomState.enumVal, rs[rkey].toObject());
}
qCDebug(PROFILER) << "*** SyncData::parseJson():" << et.elapsed() << "ms";
- return Success;
+ return BaseJob::Success;
}
SyncRoomData::SyncRoomData(const QString& roomId_, JoinState joinState_,