diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-06-05 18:11:02 +0200 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-06-07 08:43:29 +0200 |
commit | eccab6df7003bb9c20c48dfe0af57502383ba42e (patch) | |
tree | c55d3a21ccb40bd34d21fbf884f66887049ed3fd /lib | |
parent | 04956392c4b1102ac9ae627c324493f035887472 (diff) | |
download | libquotient-eccab6df7003bb9c20c48dfe0af57502383ba42e.tar.gz libquotient-eccab6df7003bb9c20c48dfe0af57502383ba42e.zip |
MediaThumbnailJob: be specific about the transform
What's needed for a thumbnail is normally "scale", not "crop"
(as these are defined in The Spec).
Diffstat (limited to 'lib')
-rw-r--r-- | lib/jobs/mediathumbnailjob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jobs/mediathumbnailjob.cpp b/lib/jobs/mediathumbnailjob.cpp index 0a346392..df3763b2 100644 --- a/lib/jobs/mediathumbnailjob.cpp +++ b/lib/jobs/mediathumbnailjob.cpp @@ -31,7 +31,7 @@ QUrl MediaThumbnailJob::makeRequestUrl(QUrl baseUrl, const QUrl& mxcUri, MediaThumbnailJob::MediaThumbnailJob(const QString& serverName, const QString& mediaId, QSize requestedSize) : GetContentThumbnailJob(serverName, mediaId, requestedSize.width(), - requestedSize.height()) + requestedSize.height(), "scale") {} MediaThumbnailJob::MediaThumbnailJob(const QUrl& mxcUri, QSize requestedSize) |