From 5a6d23b6b72f4476fcba26e656bcc6eb7f32b3a1 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Thu, 25 Apr 2013 12:23:41 +0300 Subject: Further animation fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Scatter animation didn't update points correctly after remove - Spline animation crashed at insert/removal at zero index Change-Id: I181cfb195aa3f152fb1df1cf9f74b7592c1a8f19 Reviewed-by: Tomi Korpipää --- src/animations/xyanimation_p.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/animations/xyanimation_p.h') diff --git a/src/animations/xyanimation_p.h b/src/animations/xyanimation_p.h index b7c5a5d0..213a197c 100644 --- a/src/animations/xyanimation_p.h +++ b/src/animations/xyanimation_p.h @@ -51,6 +51,7 @@ protected: QVariant interpolated(const QVariant &start, const QVariant &end, qreal progress) const; void updateCurrentValue(const QVariant &value); void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); + XYChart *chartItem() { return m_item; } protected: Animation m_type; bool m_dirty; -- cgit v1.2.3