Commit 1cf980b8 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile without deprecated method

parent 6a0581eb
...@@ -80,7 +80,7 @@ Killbots::Coordinator::Coordinator(QObject *parent) ...@@ -80,7 +80,7 @@ Killbots::Coordinator::Coordinator(QObject *parent)
m_newGameRequested(false), m_newGameRequested(false),
m_queuedAction(NoAction) m_queuedAction(NoAction)
{ {
m_timeLine.setCurveShape(QTimeLine::EaseInOutCurve); m_timeLine.setEasingCurve(QEasingCurve::InOutSine);
connect(&m_timeLine, &QTimeLine::valueChanged, this, &Coordinator::animate); connect(&m_timeLine, &QTimeLine::valueChanged, this, &Coordinator::animate);
connect(&m_timeLine, &QTimeLine::finished, this, &Coordinator::nextAnimationStage); connect(&m_timeLine, &QTimeLine::finished, this, &Coordinator::nextAnimationStage);
} }
......
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