From ebbd8f3341f59e4134ca2cec07cbb730049f1c34 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 19 Nov 2023 20:26:54 +0100 Subject: [PATCH] Fix some round images being persisted as not round --- src/MxcImageProvider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MxcImageProvider.cpp b/src/MxcImageProvider.cpp index 8f930c1a..05c2bbe7 100644 --- a/src/MxcImageProvider.cpp +++ b/src/MxcImageProvider.cpp @@ -181,7 +181,7 @@ MxcImageProvider::download(const QString &id, .arg(requestedSize.width()) .arg(requestedSize.height()) .arg(crop ? "crop" : "scale") - .arg(cropLocally ? 0 : radius); + .arg(radius); QFileInfo fileInfo(QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + "/media_cache", fileName);