[Kde-games-devel] [Patch] Fix QPainter usage

Ian Wadham ianw2 at optusnet.com.au
Mon Dec 24 22:16:48 CET 2007


On Mon, 24 Dec 2007 11:14 pm, Christian Ehrlicher wrote:
> I just added a few QPainter::end().
>
Oops!  Looks like you were way ahead of me in getting to
this list, Christian.  And you have patched so many games
too.  Please disregard my post a few minutes ago, to KDE
Windows list.  It's Christmas morning here in Australia and
I am just waking up.

Everybody, when rendering SVG elements, please double-check
that QPainter::end() is called or the QPainter is "destructed"
(with auto end()), *before* you convert your QImage to a
QPixmap.  Otherwise your graphics will fail in Windows.

Thanks for all your work on this, Christian.
And Merry Christmas everybody, Ian W.


More information about the kde-games-devel mailing list