Skip to content

Commit 005e2c7

Browse files
aavitQt Cherry-pick Bot
authored and
Qt Cherry-pick Bot
committed
Doc: QPropertyAnimation does not update target property when stopped
When stopped, an animations's currentValue can change as a result of changes to the the start- or end value. The target property will not be updated, however. Fixes: QTBUG-125586 Pick-to: 6.8 6.5 Change-Id: Ib03133db80e92b4d73a1140e9a94d6d7a6b68fc4 Reviewed-by: Sze Howe Koh <[email protected]> (cherry picked from commit 25fbbb5) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
1 parent 942b23f commit 005e2c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/corelib/animation/qpropertyanimation.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ bool QPropertyAnimation::event(QEvent *event)
230230
/*!
231231
This virtual function is called by QVariantAnimation whenever the current value
232232
changes. \a value is the new, updated value. It updates the current value
233-
of the property on the target object.
233+
of the property on the target object, unless the animation is stopped.
234234
235235
\sa currentValue, currentTime
236236
*/

0 commit comments

Comments
 (0)