aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/mediathumbnailjob.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-06-03 19:06:41 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-06-03 19:06:41 +0900
commit32a912ff71bc86d862d89e0a01a35ce7b001de7c (patch)
treef9d4fc69df54f32d78451aea84c2cc6d20f7135b /lib/jobs/mediathumbnailjob.cpp
parent5be3dcc9d45d2c52a514b5ebfa691dca9c73b047 (diff)
downloadlibquotient-32a912ff71bc86d862d89e0a01a35ce7b001de7c.tar.gz
libquotient-32a912ff71bc86d862d89e0a01a35ce7b001de7c.zip
csapi/content-repo.*: jobs return results in data() instead of content() now
Because GTAD has been updated to use a different default name for returned properties.
Diffstat (limited to 'lib/jobs/mediathumbnailjob.cpp')
-rw-r--r--lib/jobs/mediathumbnailjob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jobs/mediathumbnailjob.cpp b/lib/jobs/mediathumbnailjob.cpp
index dda1cdb4..8dfb6094 100644
--- a/lib/jobs/mediathumbnailjob.cpp
+++ b/lib/jobs/mediathumbnailjob.cpp
@@ -56,7 +56,7 @@ BaseJob::Status MediaThumbnailJob::parseReply(QNetworkReply* reply)
if (!result.good())
return result;
- if( _thumbnail.loadFromData(content()->readAll()) )
+ if( _thumbnail.loadFromData(data()->readAll()) )
return Success;
return { IncorrectResponseError, "Could not read image data" };