From 32a912ff71bc86d862d89e0a01a35ce7b001de7c Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sun, 3 Jun 2018 19:06:41 +0900 Subject: 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. --- lib/jobs/mediathumbnailjob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/jobs/mediathumbnailjob.cpp') 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" }; -- cgit v1.2.3