aboutsummaryrefslogtreecommitdiff
path: root/jobs
diff options
context:
space:
mode:
authorRoman Plášil <me@rplasil.name>2017-09-03 14:43:05 +0800
committerRoman Plášil <me@rplasil.name>2017-09-03 14:43:05 +0800
commita7ee0dfacc2c571572240191b3cf0846a9e32998 (patch)
tree58116340d42b98a50f3852adc0022f0da2166bea /jobs
parent9a26c52f8c3e71f803fd38128ecddfd6ce9748f6 (diff)
downloadlibquotient-a7ee0dfacc2c571572240191b3cf0846a9e32998.tar.gz
libquotient-a7ee0dfacc2c571572240191b3cf0846a9e32998.zip
More fixes
Diffstat (limited to 'jobs')
-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_,