aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/mediathumbnailjob.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-08-04 13:28:09 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-08-04 13:51:39 +0200
commit2804099f16a15f6098d26c5d62749d2d1aab9ea2 (patch)
treef17b579c4cafc3735aae9779d8438adff1888d9b /lib/jobs/mediathumbnailjob.cpp
parent640cfee652721a1683a0f87d409d0b85bfada211 (diff)
downloadlibquotient-2804099f16a15f6098d26c5d62749d2d1aab9ea2.tar.gz
libquotient-2804099f16a15f6098d26c5d62749d2d1aab9ea2.zip
Cleanup around [BaseJob::]IncorrectResponse[Error]
Diffstat (limited to 'lib/jobs/mediathumbnailjob.cpp')
-rw-r--r--lib/jobs/mediathumbnailjob.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/jobs/mediathumbnailjob.cpp b/lib/jobs/mediathumbnailjob.cpp
index 33f4236c..a69f00e9 100644
--- a/lib/jobs/mediathumbnailjob.cpp
+++ b/lib/jobs/mediathumbnailjob.cpp
@@ -53,6 +53,5 @@ BaseJob::Status MediaThumbnailJob::prepareResult()
if (_thumbnail.loadFromData(data()->readAll()))
return Success;
- return { IncorrectResponseError,
- QStringLiteral("Could not read image data") };
+ return { IncorrectResponse, QStringLiteral("Could not read image data") };
}