mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
Fix some round images being persisted as not round
This commit is contained in:
parent
ff82452816
commit
ebbd8f3341
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue