summaryrefslogtreecommitdiffstats
path: root/examples/activeqt
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@nokia.com>2010-02-09 10:58:12 (GMT)
committerYoann Lopes <yoann.lopes@nokia.com>2010-02-09 11:51:00 (GMT)
commit884a36d300bbe9068d912550a4aeb581f8ce8b37 (patch)
tree99e07f08daad0098ee3a957e0cd4c2191458aa95 /examples/activeqt
parent1bb05bf5230ac41c47ce09fcc1e85e26db150322 (diff)
downloadQt-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 'examples/activeqt')
0 files changed, 0 insertions, 0 deletions