fix: wrong order of arguments in QImage()

This commit is contained in:
vae 2021-05-09 02:51:04 +03:00
parent ce047db787
commit 849159d5a5
Signed by: vae
GPG Key ID: A9A33351400E00E5

View File

@ -522,7 +522,7 @@ void expblur(QImage &img, qreal radius, bool improvedQuality = false, int transp
qt_blurrow<aprec, zprec, alphaOnly>(img, row, alpha); qt_blurrow<aprec, zprec, alphaOnly>(img, row, alpha);
} }
QImage temp(img.height(), img.width(), img.format()); QImage temp(img.width(), img.height(), img.format());
temp.setDevicePixelRatio(img.devicePixelRatioF()); temp.setDevicePixelRatio(img.devicePixelRatioF());
if (transposed >= 0) { if (transposed >= 0) {
if (img.depth() == 8) { if (img.depth() == 8) {