diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-06-03 19:06:41 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-06-03 19:06:41 +0900 |
commit | 32a912ff71bc86d862d89e0a01a35ce7b001de7c (patch) | |
tree | f9d4fc69df54f32d78451aea84c2cc6d20f7135b /lib/jobs | |
parent | 5be3dcc9d45d2c52a514b5ebfa691dca9c73b047 (diff) | |
download | libquotient-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')
-rw-r--r-- | lib/jobs/mediathumbnailjob.cpp | 2 |
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" }; |