Keep polishing until there is nothing left to polish.
authorGunnar Sletta <gunnar.sletta@nokia.com>
Thu, 3 May 2012 13:48:53 +0000 (15:48 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 3 May 2012 16:48:15 +0000 (18:48 +0200)
commit50523a21c960bb59405ec0ae0a9f313eefec5327
treee4d59e14f08aaf75a6ca5726fa404c7bf29e0d4b
parentc79ad1f30fd2e681ba0cad5b7f2da87880c6599e
Keep polishing until there is nothing left to polish.

Some items will trigger changes in updatePolish() which
again trigger property changes which needs polish to
be executed again. If we do not polish until the set
is fully cleared, we will end up with some items being
in an unpolished state.

To avoid polishing from going on indefinitely, we have a
countdown that spits out a warning if polishing goes
on forever.

Change-Id: I4da6e884ca0d52b9b2701082ecf13e8c65508524
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
src/quick/items/qquickcanvas.cpp