diff options
author | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2009-06-05 11:46:29 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-06-13 03:41:16 (GMT) |
commit | ba29392a0d1cb5daf1b8b6502a3acac24108800b (patch) | |
tree | 4ca00e32dc851d0e3e4abd0fe53849c324e99521 /src | |
parent | 7e51e1a102de62931be94d1ebb5d0f393c5e3f10 (diff) | |
download | Qt-ba29392a0d1cb5daf1b8b6502a3acac24108800b.zip Qt-ba29392a0d1cb5daf1b8b6502a3acac24108800b.tar.gz Qt-ba29392a0d1cb5daf1b8b6502a3acac24108800b.tar.bz2 |
QGraphicsItem::setOpacity(0.0) does not trigger an update of child items
Forwarding the ignoreOpacity flag to children in QGraphicsItemPrivate::fullUpdateHelper.
This is a complementary fix to task 252913, partly fixed in commit 2e3a5ea44...
Reviewed-by: bnilsen
BT: yes
(cherry picked from commit 8d1f218f6b11cff798bcd0b3123a2fe38c4a4142)
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/graphicsview/qgraphicsitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem.cpp b/src/gui/graphicsview/qgraphicsitem.cpp index 3519a06..8474186 100644 --- a/src/gui/graphicsview/qgraphicsitem.cpp +++ b/src/gui/graphicsview/qgraphicsitem.cpp @@ -3717,7 +3717,7 @@ void QGraphicsItemPrivate::fullUpdateHelper(bool childrenOnly, bool maybeDirtyCl } } foreach (QGraphicsItem *child, children) - child->d_ptr->fullUpdateHelper(false, maybeDirtyClipPath); + child->d_ptr->fullUpdateHelper(false, maybeDirtyClipPath, ignoreOpacity); dirtyChildren = 1; } |