summary refs log tree commit diff
path: root/src/MxcImageProvider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MxcImageProvider.cpp')
-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](