diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2012-04-20 21:12:12 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-24 03:30:09 +0200 |
commit | 9dc738821e6618b1ba51b46f98205acfe74cbea4 (patch) | |
tree | 52ec05d44e90a925ebc877b8ca5a87bef02c5102 /tools | |
parent | 5dac3d9f846d0a9cffb95608219fefd4079a7bc2 (diff) |
Do not use deprecated API
Change-Id: I0c61f9cb4abe926d5f1e0a3acda7117d8d54efb6
Reviewed-by: Simjees Abraham <simjees.abraham@nokia.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/easingcurveeditor/splineeditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/easingcurveeditor/splineeditor.cpp b/tools/easingcurveeditor/splineeditor.cpp index dbd32dd63a..d4408521a8 100644 --- a/tools/easingcurveeditor/splineeditor.cpp +++ b/tools/easingcurveeditor/splineeditor.cpp @@ -659,7 +659,7 @@ void SplineEditor::setEasingCurve(const QEasingCurve &easingCurve) return; m_block = true; m_easingCurve = easingCurve; - m_controlPoints = m_easingCurve.cubicBezierSpline().toVector(); + m_controlPoints = m_easingCurve.toCubicSpline(); m_numberOfSegments = m_controlPoints.count() / 3; update(); emit easingCurveChanged(); |