From 005e2c78767fcab9dfab2dd39345b3f9f2ae7bd6 Mon Sep 17 00:00:00 2001 From: Eirik Aavitsland Date: Mon, 14 Apr 2025 16:12:32 +0200 Subject: [PATCH] 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 (cherry picked from commit 25fbbb56122d95a9dce004ee6e9de8d144a46032) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/animation/qpropertyanimation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/animation/qpropertyanimation.cpp b/src/corelib/animation/qpropertyanimation.cpp index 2247c95201c..f11c9c238ef 100644 --- a/src/corelib/animation/qpropertyanimation.cpp +++ b/src/corelib/animation/qpropertyanimation.cpp @@ -230,7 +230,7 @@ bool QPropertyAnimation::event(QEvent *event) /*! This virtual function is called by QVariantAnimation whenever the current value changes. \a value is the new, updated value. It updates the current value - of the property on the target object. + of the property on the target object, unless the animation is stopped. \sa currentValue, currentTime */