qpixmapfilter: use rvalue overloads more

Change-Id: I94f641b9d8405d607b54bfae0fe1b0bb914f31b4
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
Anton Kudryavtsev 2023-09-15 14:15:51 +03:00
parent 2b50d01611
commit 81a41ac0a7

View File

@ -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;