Port away from deprecated QTimeLine::setCurveShape

GIT_SILENT
parent fcaf3456
......@@ -90,7 +90,7 @@ KGrScene::KGrScene (KGrView * view)
m_pauseResumeText = new QGraphicsSimpleTextItem();
addItem (m_pauseResumeText);
m_fadingTimeLine->setCurveShape (QTimeLine::EaseOutCurve);
m_fadingTimeLine->setEasingCurve(QEasingCurve::OutCurve);
m_fadingTimeLine->setUpdateInterval (50);
connect(m_fadingTimeLine, &QTimeLine::valueChanged, this, &KGrScene::drawSpotlight);
connect(m_fadingTimeLine, &QTimeLine::finished, this, &KGrScene::fadeFinished);
......
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