Commit a474787e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile without deprecated method

parent 4583cd88
......@@ -37,7 +37,7 @@ KapmanItem::KapmanItem(Kapman *p_model) : CharacterItem(p_model)
// A timeLine for the Kapman animation
m_animationTimer = new QTimeLine();
m_animationTimer->setCurveShape(QTimeLine::SineCurve);
m_animationTimer->setEasingCurve(QEasingCurve::SineCurve);
m_animationTimer->setLoopCount(0);
m_animationTimer->setFrameRange(0, NB_FRAMES - 1);
// Animation speed
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment