summary refs log tree commit diff
path: root/src/MxcImageProvider.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-10-26 01:14:46 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-10-26 01:14:46 +0200
commit9a90f8868fb0413b54a8caee6d1c4ba01eaeaa2a (patch)
tree2afdb3d2e791f48c1ac996ca77dea9ee0006d38d /src/MxcImageProvider.cpp
parentEnable -Wconversion (diff)
downloadnheko-9a90f8868fb0413b54a8caee6d1c4ba01eaeaa2a.tar.xz
lint
Diffstat (limited to '')
-rw-r--r--src/MxcImageProvider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MxcImageProvider.cpp b/src/MxcImageProvider.cpp

index 26ffb934..0dc96e5a 100644 --- a/src/MxcImageProvider.cpp +++ b/src/MxcImageProvider.cpp
@@ -172,7 +172,7 @@ MxcImageProvider::download(const QString &id, opts.width = static_cast<uint8_t>(requestedSize.width() > 0 ? requestedSize.width() : -1); opts.height = static_cast<uint8_t>(requestedSize.height() > 0 ? requestedSize.height() : -1); - opts.method = crop ? "crop" : "scale"; + opts.method = crop ? "crop" : "scale"; http::client()->get_thumbnail( opts, [fileInfo, requestedSize, radius, then, id, crop, cropLocally](