Add QStyleAnimation::updateTarget()
authorJ-P Nurmi <jpnurmi@digia.com>
Mon, 22 Oct 2012 17:15:14 +0000 (19:15 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 23 Oct 2012 10:51:41 +0000 (12:51 +0200)
commit4835a87fe3a4107a7d7a05b371d8a2a4b3b255de
treeeae35b625405715cb932c2251a82e435dd0af38d
parentee0dbed4db618ed1156be5c5fae133e6ebd7bc4c
Add QStyleAnimation::updateTarget()

For example a paused "default button" animation might want to update
the target to get "non-default button" looks meanwhile the animation
is paused.

Change-Id: Ibb854a40f38a8971e7233b1f34a83056e6a9d827
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
src/widgets/styles/qstyleanimation.cpp
src/widgets/styles/qstyleanimation_p.h