diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2017-12-12 16:36:14 +0100 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2017-12-13 07:50:11 +0000 |
commit | a60b3fdd87257908a01a54a55eece3d56f31fceb (patch) | |
tree | 379127c549fc0b2d7ccdc7af72e2f4f10964572f /src | |
parent | c9d2453a4df347f0500340d7e21cd9219b1d5549 (diff) |
QmlDesigner: Do not slide frames
The compression in the rewriter currently cannot handle slides
in transactions.
Change-Id: I2daa77d35b2de5676149d55c2c5efdf55528d868
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/qmldesigner/designercore/model/qmltimelinekeyframes.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/designercore/model/qmltimelinekeyframes.cpp b/src/plugins/qmldesigner/designercore/model/qmltimelinekeyframes.cpp index 8770e78e306..90f6224021b 100644 --- a/src/plugins/qmldesigner/designercore/model/qmltimelinekeyframes.cpp +++ b/src/plugins/qmldesigner/designercore/model/qmltimelinekeyframes.cpp @@ -113,10 +113,12 @@ int QmlTimelineFrames::indexOfFrame(const ModelNode &frame) const return modelNode().defaultNodeListProperty().indexOf(frame); } -void QmlTimelineFrames::slideFrame(int sourceIndex, int targetIndex) +void QmlTimelineFrames::slideFrame(int /*sourceIndex*/, int /*targetIndex*/) { + /* if (targetIndex != sourceIndex) modelNode().defaultNodeListProperty().slide(sourceIndex, targetIndex); + */ } void QmlTimelineFrames::setValue(const QVariant &value, qreal currentFrame) |