diff options
Diffstat (limited to 'jobs/mediathumbnailjob.cpp')
-rw-r--r-- | jobs/mediathumbnailjob.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jobs/mediathumbnailjob.cpp b/jobs/mediathumbnailjob.cpp index b7d34bf2..48ed0ffb 100644 --- a/jobs/mediathumbnailjob.cpp +++ b/jobs/mediathumbnailjob.cpp @@ -53,12 +53,12 @@ QPixmap MediaThumbnailJob::thumbnail() return d->thumbnail; } -QString MediaThumbnailJob::apiPath() +QString MediaThumbnailJob::apiPath() const { return QString("/_matrix/media/v1/thumbnail/%1/%2").arg(d->url.host()).arg(d->url.path()); } -QUrlQuery MediaThumbnailJob::query() +QUrlQuery MediaThumbnailJob::query() const { QUrlQuery query; query.addQueryItem("width", QString::number(d->requestedWidth)); |