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

Sune Vuorela nospam at vuorela.dk
Mon Jul 11 21:21:06 CEST 2016


On 2016-07-11, Allan Sandfeld Jensen <kde at carewolf.com> wrote:
> On Monday 11 July 2016, Benjamin TERRIER wrote:
>> QImage::detach() is not public API.
>> However QPixmap::detach() is, so why QImage::detach() couldn't be made
>> public too?
>> 
> It probably should be. It is a lot more sensible to use than copy(rect()).

https://codereview.qt-project.org/#/c/164886/

/Sune




More information about the Development mailing list