diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-09-03 14:03:15 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-09-03 14:33:20 (GMT) |
commit | f360180890298618ef3284c08789c2a243e1ba9d (patch) | |
tree | 082b4b067bd7c1d337762e28e32803fcffa2dbc1 /tests/auto/exceptionsafety_objects/oomsimulator.h | |
parent | 6dce8c6548aa63fd11ca326b8a54d5623a41573c (diff) | |
download | Qt-f360180890298618ef3284c08789c2a243e1ba9d.zip Qt-f360180890298618ef3284c08789c2a243e1ba9d.tar.gz Qt-f360180890298618ef3284c08789c2a243e1ba9d.tar.bz2 |
Rendering artifacts when installing an effect on HasNoContents items.
QGraphicsItem::HasNoContents is documented to not paint anything when
the flag is set on an item, so all the update requests are ignored. However,
we cannot ignore update requests on such items when an effect is
installed on them, because when the effects changes parameters it calls
update on the item. We still don't paint the item, but we processes the
update request such that its children can be painted properly.
Reviewed-by: Andreas
Diffstat (limited to 'tests/auto/exceptionsafety_objects/oomsimulator.h')
0 files changed, 0 insertions, 0 deletions