diff options
author | Yoann Lopes <yoann.lopes@nokia.com> | 2010-02-09 10:58:12 (GMT) |
---|---|---|
committer | Yoann Lopes <yoann.lopes@nokia.com> | 2010-02-09 11:51:00 (GMT) |
commit | 884a36d300bbe9068d912550a4aeb581f8ce8b37 (patch) | |
tree | 99e07f08daad0098ee3a957e0cd4c2191458aa95 /tests/auto | |
parent | 1bb05bf5230ac41c47ce09fcc1e85e26db150322 (diff) | |
download | Qt-884a36d300bbe9068d912550a4aeb581f8ce8b37.zip Qt-884a36d300bbe9068d912550a4aeb581f8ce8b37.tar.gz Qt-884a36d300bbe9068d912550a4aeb581f8ce8b37.tar.bz2 |
Fixed warnings and crash when painting graphics effects outside scene.
The problem was that when an item had a QGraphicsEffect on itself and
that item was outside of the sceneRect, the cached pixmap of the item
was just an empty pixmap (when using DeviceCoordinates mode). Therefore
the effect filter was trying to paint into an unformatted and empty
image. Now, paint() for all pixmap filters just return immediatly when
the pixmap is empty.
Task-number: QTBUG-5358
Reviewed-by: sroedal
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions