forked from blue/squawk
fix: wrong order of arguments in QImage()
This commit is contained in:
parent
ce047db787
commit
849159d5a5
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user