qpixmapfilter: use rvalue overloads more
Change-Id: I94f641b9d8405d607b54bfae0fe1b0bb914f31b4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
parent
2b50d01611
commit
81a41ac0a7
@ -831,7 +831,7 @@ Q_WIDGETS_EXPORT void qt_blurImage(QPainter *p, QImage &blurImage, qreal radius,
|
||||
if (blurImage.format() != QImage::Format_ARGB32_Premultiplied
|
||||
&& blurImage.format() != QImage::Format_RGB32)
|
||||
{
|
||||
blurImage = blurImage.convertToFormat(QImage::Format_ARGB32_Premultiplied);
|
||||
blurImage = std::move(blurImage).convertToFormat(QImage::Format_ARGB32_Premultiplied);
|
||||
}
|
||||
|
||||
qreal scale = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user