diff options
Diffstat (limited to 'src/plugins/qmldesigner/designercore/model/qmltimeline.cpp')
-rw-r--r-- | src/plugins/qmldesigner/designercore/model/qmltimeline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmldesigner/designercore/model/qmltimeline.cpp b/src/plugins/qmldesigner/designercore/model/qmltimeline.cpp index 14f18327fe..1cc4471664 100644 --- a/src/plugins/qmldesigner/designercore/model/qmltimeline.cpp +++ b/src/plugins/qmldesigner/designercore/model/qmltimeline.cpp @@ -104,14 +104,14 @@ bool QmlTimeline::hasTimeline(const ModelNode &node, const PropertyName &propert qreal QmlTimeline::startKeyframe() const { if (isValid()) - return QmlObjectNode(modelNode()).instanceValue("startFrame").toReal(); + return QmlObjectNode(modelNode()).modelValue("startFrame").toReal(); return 0; } qreal QmlTimeline::endKeyframe() const { if (isValid()) - return QmlObjectNode(modelNode()).instanceValue("endFrame").toReal(); + return QmlObjectNode(modelNode()).modelValue("endFrame").toReal(); return 0; } |