Don't change image pixel ratio when rounding.

This commit is contained in:
John Preston 2019-12-14 17:08:29 +03:00
parent 2b9055f1ae
commit 65eb03a6a7

View file

@ -516,7 +516,6 @@ void prepareRound(
} }
Assert(!image.isNull()); Assert(!image.isNull());
image.setDevicePixelRatio(style::DevicePixelRatio());
image = std::move(image).convertToFormat( image = std::move(image).convertToFormat(
QImage::Format_ARGB32_Premultiplied); QImage::Format_ARGB32_Premultiplied);
Assert(!image.isNull()); Assert(!image.isNull());