Fix polishItems bug
authorFabian Bumberger <fbumberger@rim.com>
Wed, 29 Jan 2014 13:11:51 +0000 (14:11 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 15 Feb 2014 08:50:03 +0000 (09:50 +0100)
commit01e609e9fa0ca1317e0f4eff4802a79584450357
tree8fd4d60652b413f2faa3a67d08f57ed98706db50
parent093fe73f915dbd2554fa4e109bfda59eeecb9a17
Fix polishItems bug

updatePolish is not called for items which are not visible.
However if a polish is scheduled, updatePolish has to be called when the item
becomes eventually visible.

This patch makes sure, that invisible items are not removed from the itemsToPolish list.

Change-Id: I1ad929dc6de8e61edbd1c4df88ae5bc951979ff1
Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/quick/items/qquickwindow.cpp