forked from blue/squawk
fix: wrong order of arguments in QImage()
This commit is contained in:
parent
ce047db787
commit
849159d5a5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue