On 15 October 2015 at 16:41, Robert Helling <[email protected]> wrote:
>
> But how to I tell C++ to set the QImage inside SHashedImage to this? Going
> via loadFromData seems to be somewhat roundabout.
>

found this in the docs:
http://doc.qt.io/qt-4.8/qimage.html#swap
but haven't tried it.

hashedImage->swap(film.currentImage());

lubomir
--
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to