aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/mediathumbnailjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jobs/mediathumbnailjob.cpp')
-rw-r--r--lib/jobs/mediathumbnailjob.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/jobs/mediathumbnailjob.cpp b/lib/jobs/mediathumbnailjob.cpp
index df3763b2..33f4236c 100644
--- a/lib/jobs/mediathumbnailjob.cpp
+++ b/lib/jobs/mediathumbnailjob.cpp
@@ -48,12 +48,8 @@ QImage MediaThumbnailJob::scaledThumbnail(QSize toSize) const
Qt::SmoothTransformation);
}
-BaseJob::Status MediaThumbnailJob::parseReply(QNetworkReply* reply)
+BaseJob::Status MediaThumbnailJob::prepareResult()
{
- auto result = GetContentThumbnailJob::parseReply(reply);
- if (!result.good())
- return result;
-
if (_thumbnail.loadFromData(data()->readAll()))
return Success;