summaryrefslogtreecommitdiffstats
path: root/src/charts/animations/xyanimation_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/charts/animations/xyanimation_p.h')
-rw-r--r--src/charts/animations/xyanimation_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charts/animations/xyanimation_p.h b/src/charts/animations/xyanimation_p.h
index dd93bd97..09006e0a 100644
--- a/src/charts/animations/xyanimation_p.h
+++ b/src/charts/animations/xyanimation_p.h
@@ -40,7 +40,7 @@ class XYAnimation : public ChartAnimation
protected:
enum Animation { AddPointAnimation, RemovePointAnimation, ReplacePointAnimation, NewAnimation };
public:
- XYAnimation(XYChart *item);
+ XYAnimation(XYChart *item, int duration, QEasingCurve &curve);
~XYAnimation();
void setup(const QVector<QPointF> &oldPoints, const QVector<QPointF> &newPoints, int index = -1);
Animation animationType() const { return m_type; };