qdistancefiled: use rvalue overloads more
Change-Id: I8c665e6814967f3a0463cbad8686ca28d55ab124 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>bb10
parent
322ec07d0e
commit
d1792b1bbe
|
|
@ -1058,7 +1058,7 @@ QImage QDistanceField::toImage(QImage::Format format) const
|
|||
}
|
||||
|
||||
if (image.format() != format)
|
||||
image = image.convertToFormat(format);
|
||||
image = std::move(image).convertToFormat(format);
|
||||
}
|
||||
|
||||
return image;
|
||||
|
|
|
|||
Loading…
Reference in New Issue