Peter Kümmel wrote:
At least I'm now 100% sure this is the right place to look for the bug:
I've tested your shared_ptr solution, and the resize bug is gone, but
I get-as assumed-this from Qt: :)
QPaintDevice: Cannot destroy paint device that is being painted. Be sure to
QPainter::end() painters!
So the bug is gone but we have a memory leak in exchange!
Difficult... The bug is not there with Qt4/mingw so I suppose this is
something introduced by the Qt4/MSVC patch. As you are in touch with KDE
people maybe you could ask for advice?
Abdel.