[Development] QImage::transformed returns shallow copy for QTransform::TxNone matrix type.

Paul Olav Tvete paul.tvete at qt.io
Mon Jul 11 16:03:32 CEST 2016


On mandag 11. juli 2016 12.54.58 CEST Simon Hausmann wrote:
> Instead of using copy(), why not call the non-const bits() function (and
> don't use the returned value). That will detach [...]

Instead of using bits(), why not call detach() directly? ;)

- Paul




More information about the Development mailing list