diff options
author | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2009-06-05 11:46:29 (GMT) |
---|---|---|
committer | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2009-06-12 09:27:31 (GMT) |
commit | 8d1f218f6b11cff798bcd0b3123a2fe38c4a4142 (patch) | |
tree | f891e89e3bb50a174574a5a3c6c632bc5a32e496 /src/gui | |
parent | d2b1c2d1c9cf5375d7e1cb7e1b08420eb00bada8 (diff) | |
download | Qt-8d1f218f6b11cff798bcd0b3123a2fe38c4a4142.zip Qt-8d1f218f6b11cff798bcd0b3123a2fe38c4a4142.tar.gz Qt-8d1f218f6b11cff798bcd0b3123a2fe38c4a4142.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
Diffstat (limited to 'src/gui')
-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 e8ace65..7b1967b 100644 --- a/src/gui/graphicsview/qgraphicsitem.cpp +++ b/src/gui/graphicsview/qgraphicsitem.cpp @@ -3721,7 +3721,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; } |