Update comment

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
Yuhang Zhao 2021-04-01 09:56:27 +08:00
parent ef34a7c699
commit 95d72997ed
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ static inline void expblur(QImage &img, const qreal radius, const bool improvedQ
} }
} }
// TODO: QImage(int width, int height, QImage::Format format) // TODO: QImage(int width, int height, QImage::Format format)
// Why the argument order is inverted here? // Why the argument order is inverted here? The application will crash if change it back.
QImage temp(img.height(), img.width(), img.format()); QImage temp(img.height(), img.width(), img.format());
temp.setDevicePixelRatio(img.devicePixelRatio()); temp.setDevicePixelRatio(img.devicePixelRatio());
if (transposed >= 0) { if (transposed >= 0) {