aboutsummaryrefslogtreecommitdiff
path: root/jobs/mediathumbnailjob.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-04-02 22:48:43 +0300
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-04-02 22:48:43 +0300
commitff977a14a26076f9df426437a2049d2aefd1defc (patch)
tree69a5e6b07bdd46b8c3a2f7e1ec7a5351614599d4 /jobs/mediathumbnailjob.cpp
parent2c2fe463a5af4cd6798ed715cc740042c94843eb (diff)
downloadlibquotient-ff977a14a26076f9df426437a2049d2aefd1defc.tar.gz
libquotient-ff977a14a26076f9df426437a2049d2aefd1defc.zip
Renamed JobHttpType to more fitting HttpVerb; removed Job from enum values
Diffstat (limited to 'jobs/mediathumbnailjob.cpp')
-rw-r--r--jobs/mediathumbnailjob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/mediathumbnailjob.cpp b/jobs/mediathumbnailjob.cpp
index dee06372..fdee8f47 100644
--- a/jobs/mediathumbnailjob.cpp
+++ b/jobs/mediathumbnailjob.cpp
@@ -30,7 +30,7 @@ class MediaThumbnailJob::Private
MediaThumbnailJob::MediaThumbnailJob(ConnectionData* data, QUrl url, QSize requestedSize,
ThumbnailType thumbnailType)
- : BaseJob(data, JobHttpType::GetJob, "MediaThumbnailJob",
+ : BaseJob(data, HttpVerb::Get, "MediaThumbnailJob",
QString("/_matrix/media/v1/thumbnail/%1%2").arg(url.host(), url.path()),
Query(
{ { "width", QString::number(requestedSize.width()) }