Fix some round images being persisted as not round

pull/1618/head
Nicolas Werner 1 year ago
parent ff82452816
commit ebbd8f3341
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 2
      src/MxcImageProvider.cpp

@ -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…
Cancel
Save