diff options
author | Adam Endrodi <ext-adam.endrodi@nokia.com> | 2010-12-13 18:18:34 +0200 |
---|---|---|
committer | Adam Endrodi <ext-adam.endrodi@nokia.com> | 2010-12-15 15:47:37 +0200 |
commit | 86a66ffe4fe8fc7af60e7c006fb8fde3592c9277 (patch) | |
tree | f895498da69e696a594b2fee321dda857ecade8d | |
parent | 3952cde3936fdbb987fce9b2e3ce3b19ec1ffe8f (diff) |
fix 1085c7c03d482e46a7592599f9f7fc4c2c573d3e
update() (possibly) on ItemVisibleHasChanged, not on ItemZValueHasChanged
-rw-r--r-- | src/mcompositewindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mcompositewindow.cpp b/src/mcompositewindow.cpp index 2c28fd1..002fbb0 100644 --- a/src/mcompositewindow.cpp +++ b/src/mcompositewindow.cpp @@ -687,7 +687,9 @@ QVariant MCompositeWindow::itemChange(GraphicsItemChange change, const QVariant if (change == ItemZValueHasChanged) { findBehindWindow(); p->d->setWindowDebugProperties(window()); + } + if (change == ItemVisibleHasChanged) { // Be careful not to update if this item whose visibility is about // to change is behind a visible item, to not reopen NB#189519. // Update is needed if visibility changes for a visible item |