diff options
author | Roman Plášil <me@rplasil.name> | 2017-09-03 14:43:05 +0800 |
---|---|---|
committer | Roman Plášil <me@rplasil.name> | 2017-09-03 14:43:05 +0800 |
commit | a7ee0dfacc2c571572240191b3cf0846a9e32998 (patch) | |
tree | 58116340d42b98a50f3852adc0022f0da2166bea /jobs | |
parent | 9a26c52f8c3e71f803fd38128ecddfd6ce9748f6 (diff) | |
download | libquotient-a7ee0dfacc2c571572240191b3cf0846a9e32998.tar.gz libquotient-a7ee0dfacc2c571572240191b3cf0846a9e32998.zip |
More fixes
Diffstat (limited to 'jobs')
-rw-r--r-- | jobs/syncjob.cpp | 5 |
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_, |