QSmoothedAnimation: Don't set property if animation isn't running
authorRobin Burchell <robin.burchell@jollamobile.com>
Wed, 20 Nov 2013 21:36:30 +0000 (22:36 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 25 Nov 2013 22:35:44 +0000 (23:35 +0100)
commit21a03c02848bb35fe665223f49ba9643cce343b7
treed1d3733daae95361c27ff1d83895abdcc8fb0390
parent43f1cc98bf1899ae29e3fb0b3bf5054d5a23d4b2
QSmoothedAnimation: Don't set property if animation isn't running

This could cause things to get "stuck" in the wrong state under some rather hard
to reproduce conditions.

Change-Id: Ied23d2bdfcfd0b197f4b28fed9c82ffd64e52ebf
Done-with: Aaron Kennedy <aaron.kennedy@jollamobile.com>
Done-with: Alan Alpert <416365416c@gmail.com>
Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
src/quick/util/qquicksmoothedanimation.cpp