summaryrefslogtreecommitdiffstats
path: root/src/chartpresenter_p.h
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2013-06-06 13:13:02 +0300
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2013-06-06 13:40:45 +0300
commit8f0e18a7e02cc4f9018d95379efbfb9cf167dd56 (patch)
treeb91247ba4433c965aacf44af099a114e752d7744 /src/chartpresenter_p.h
parent93cea193b2c20bccdb06ab5a6b2cf00837418fdf (diff)
Fix resetting animation options mid-animation.
Setting animation options while animations were running could cause crash if layout in old animation didn't match the current layout, as animation options setting didn't destroy or stop old animations when it created new ones. Change-Id: If45ee8daf3facd49ce7dd127bb37678a31e6a2d3 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'src/chartpresenter_p.h')
-rw-r--r--src/chartpresenter_p.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/chartpresenter_p.h b/src/chartpresenter_p.h
index 49ba55d8..9230cbf7 100644
--- a/src/chartpresenter_p.h
+++ b/src/chartpresenter_p.h
@@ -159,12 +159,6 @@ public Q_SLOTS:
void handleAxisAdded(QAbstractAxis *axis);
void handleAxisRemoved(QAbstractAxis *axis);
-private Q_SLOTS:
- void handleAnimationFinished();
-
-Q_SIGNALS:
- void animationsFinished();
-
private:
QChart *m_chart;
QList<ChartItem *> m_chartItems;
@@ -174,7 +168,6 @@ private:
QChart::AnimationOptions m_options;
State m_state;
QPointF m_statePoint;
- QList<ChartAnimation *> m_animations;
AbstractChartLayout *m_layout;
ChartBackground *m_background;
QAbstractGraphicsShapeItem *m_plotAreaBackground;