From 12ed3450e607daae76c519b5bcb1f7e7bfee583d Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Wed, 15 Jul 2020 13:45:13 +0200 Subject: Use QTimeLine's easingCurve in preference to its curveShape The curveShape shall be deprecated and is equivalent to setting the easingCurve. Pick-to: 5.15 Change-Id: I96fb873680c37cb5f79378dcf33075636f0de82a Reviewed-by: hjk --- examples/svg/embedded/weatherinfo/weatherinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/svg/embedded/weatherinfo/weatherinfo.cpp b/examples/svg/embedded/weatherinfo/weatherinfo.cpp index 53caf9a..bbcba4f 100644 --- a/examples/svg/embedded/weatherinfo/weatherinfo.cpp +++ b/examples/svg/embedded/weatherinfo/weatherinfo.cpp @@ -200,7 +200,7 @@ private: connect(&m_timeLine, SIGNAL(frameChanged(int)), SLOT(animate(int))); m_timeLine.setDuration(1100); m_timeLine.setFrameRange(0, 100); - m_timeLine.setCurveShape(QTimeLine::EaseInCurve); + m_timeLine.setEasingCurve(QEasingCurve::InCurve); } void request(const QString &location) { -- cgit v1.2.1