summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-07-15 13:45:13 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-07-16 11:43:17 +0200
commit12ed3450e607daae76c519b5bcb1f7e7bfee583d (patch)
tree6f001067c290275ccbb1111c04e840f6fc73a734
parent5fe6ec35f82b478829ba16f5279406d68e1c566f (diff)
downloadqtsvg-12ed3450e607daae76c519b5bcb1f7e7bfee583d.tar.gz
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 <hjk@qt.io>
-rw-r--r--examples/svg/embedded/weatherinfo/weatherinfo.cpp2
1 files changed, 1 insertions, 1 deletions
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) {