diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-04-02 22:48:43 +0300 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-04-02 22:48:43 +0300 |
commit | ff977a14a26076f9df426437a2049d2aefd1defc (patch) | |
tree | 69a5e6b07bdd46b8c3a2f7e1ec7a5351614599d4 /jobs/mediathumbnailjob.cpp | |
parent | 2c2fe463a5af4cd6798ed715cc740042c94843eb (diff) | |
download | libquotient-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.cpp | 2 |
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()) } |