forked from blue/squawk
Revert "fix: wrong order of arguments in QImage()"
This reverts commit 849159d5
This commit is contained in:
parent
8d88aa5d09
commit
0c93aa55f7
@ -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.width(), img.height(), img.format());
|
QImage temp(img.height(), img.width(), img.format());
|
||||||
temp.setDevicePixelRatio(img.devicePixelRatioF());
|
temp.setDevicePixelRatio(img.devicePixelRatioF());
|
||||||
if (transposed >= 0) {
|
if (transposed >= 0) {
|
||||||
if (img.depth() == 8) {
|
if (img.depth() == 8) {
|
||||||
|
Loading…
Reference in New Issue
Block a user