Always emit signal after ShaderEffectSource::scheduleUpdate().
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>
Fri, 18 May 2012 12:23:29 +0000 (14:23 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 21 May 2012 09:22:43 +0000 (11:22 +0200)
commite2395b83622b11b18e5416f9a0f05910d3d7e809
tree559c7cb8c63653897154d96fadc904b71578ae02
parent1fc67d759aa56697772b2e882305a66f238b4191
Always emit signal after ShaderEffectSource::scheduleUpdate().

The scheduledUpdateCompleted signal was originally added so that
you can take some action after updating a ShaderEffectSource with
scheduleUpdate(). However, before this commit, the signal would
not be emitted if the ShaderEffectSource was already up-to-date.
Instead, the signal would be delayed until the next time the
ShaderEffectSource was redrawn. This commit ensures the signal is
emitted even if the ShaderEffectSource is already up-to-date.

Change-Id: Idd22cdea1f7c14ed7a45081c98b8cfbef896dccd
Reviewed-by: Kim Gronholm <kim.1.gronholm@nokia.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
src/quick/items/qquickshadereffectsource.cpp