summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgridlayoutengine.cpp
diff options
context:
space:
mode:
authorBjoern Erik Nilsen <bjorn.nilsen@nokia.com>2009-05-06 11:40:25 (GMT)
committerBjoern Erik Nilsen <bjorn.nilsen@nokia.com>2009-05-06 13:23:29 (GMT)
commit2e3a5ea4434d19fbdb90996e71961f0791ea6487 (patch)
tree7f04e1829a00e3462b400f43bda73801f14da190 /src/gui/graphicsview/qgridlayoutengine.cpp
parent2043637a4e17252062fcb483e2e63ce0cb0920dd (diff)
downloadQt-2e3a5ea4434d19fbdb90996e71961f0791ea6487.zip
Qt-2e3a5ea4434d19fbdb90996e71961f0791ea6487.tar.gz
Qt-2e3a5ea4434d19fbdb90996e71961f0791ea6487.tar.bz2
QGraphicsItem::setOpacity(0.0) does not trigger an update.
The problem was that we discarded update requests for fully transparent items, which is correct, but we even did that when the update was issued from QGraphicsItem::setOpacity. We don't have to, and shouldn't, consider the opacity in that case. Whenever we reach the fullUpdateHelper call in setOpacity it means we have to do an update regardless of the current opacity (oldOpacity was not 0.0 if the currentOpacity is 0.0). Auto-test included. Task-number: 252913 Reviewed-by: Andreas
Diffstat (limited to 'src/gui/graphicsview/qgridlayoutengine.cpp')
0 files changed, 0 insertions, 0 deletions