aboutsummaryrefslogtreecommitdiff
path: root/jobs
diff options
context:
space:
mode:
authorRoman Plášil <me@rplasil.name>2018-03-01 23:46:35 +0800
committerRoman Plášil <me@rplasil.name>2018-03-03 18:19:53 +0800
commit4916c0b65f8415db1e189e7a9963fce71d3b8b71 (patch)
tree15d0d96d54b971d2f514aee45d2cd30990c17506 /jobs
parente15645d0e7afc0f45727d0d6611445fc26ef5219 (diff)
downloadlibquotient-4916c0b65f8415db1e189e7a9963fce71d3b8b71.tar.gz
libquotient-4916c0b65f8415db1e189e7a9963fce71d3b8b71.zip
Improve compatibility with gcc 4.9 to be able to build for Android with QtCreator
Diffstat (limited to 'jobs')
-rw-r--r--jobs/syncjob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/syncjob.cpp b/jobs/syncjob.cpp
index fd8bfc1a..6b3f3acf 100644
--- a/jobs/syncjob.cpp
+++ b/jobs/syncjob.cpp
@@ -68,7 +68,7 @@ BaseJob::Status SyncData::parseJson(const QJsonDocument &data)
{
QElapsedTimer et; et.start();
- auto json { data.object() };
+ auto json = data.object();
nextBatch_ = json.value("next_batch").toString();
// TODO: presence
accountData.fromJson(json);