@@ -18,6 +18,7 @@
1818
1919#include "easingcurve.h"
2020
21+#include <QDebug>
2122
2223EasingCurve::EasingCurve(QObject *parent):
2324 QObject(parent)
@@ -32,7 +33,11 @@ QEasingCurve::Type EasingCurve::type() const
3233
3334void EasingCurve::setType(const QEasingCurve::Type &type)
3435{
35− m_easingCurve.setType(type);
36+ // FIXME: Working around bug https://bugreports.qt-project.org/browse/QTBUG-38686 here
37+ QEasingCurve newCurve;
38+ newCurve.setType(type);
39+ newCurve.setPeriod(m_easingCurve.period());
40+ m_easingCurve = newCurve;
3641 Q_EMIT typeChanged();
3742}
3843