Albert Astals Cid wrote:
>> Are you able to isolate this problem with simpler code?
> Of course i can, it's quite easy. Here it goes, along with the svg and the
> screenies of what happens in Qt 4.3 and 4.4-rc1
> That behaviour change is not an issue to me anymore as i changed the way
> of doing what i did in the paint method and works on 4.3 and 4.4 now, but
> you should really be more careful when changing what parameters mean.

The difference seems to be that QGraphicsSvgItem::paint leaves the painter
in a translated state in 4.4, whereas in 4.3 it didn't. Wrapping the call
to QGraphicsSvgItem::paint inside a QPainter::save/restore pair should work
around the bug.

Yes, it seems to be a bug, we'll try to fix it as soon as possible.

-- 
Andreas Aardal Hanssen
Senior Software Engineer, Team Lead / Widgets
Trolltech ASA - Sandakerveien 116, NO-0484 Oslo, Norway

To unsubscribe - send "unsubscribe" in the subject to [EMAIL PROTECTED]

Reply via email to