Fix some round images being persisted as not round
This commit is contained in:
parent
ff82452816
commit
ebbd8f3341
@ -181,7 +181,7 @@ MxcImageProvider::download(const QString &id,
|
|||||||
.arg(requestedSize.width())
|
.arg(requestedSize.width())
|
||||||
.arg(requestedSize.height())
|
.arg(requestedSize.height())
|
||||||
.arg(crop ? "crop" : "scale")
|
.arg(crop ? "crop" : "scale")
|
||||||
.arg(cropLocally ? 0 : radius);
|
.arg(radius);
|
||||||
QFileInfo fileInfo(QStandardPaths::writableLocation(QStandardPaths::CacheLocation) +
|
QFileInfo fileInfo(QStandardPaths::writableLocation(QStandardPaths::CacheLocation) +
|
||||||
"/media_cache",
|
"/media_cache",
|
||||||
fileName);
|
fileName);
|
||||||
|
Loading…
Reference in New Issue
Block a user