forked from qt-creator/qt-creator
Change signature of AbstractView::nodeSlidedToIndex in QmlDesigner
The usage of 'int newIndex' was ambiguous in the case of oldIndex < newIndex. Solved by directly passing the ModelNode that was moved around. 'nodeSlidedToIndex' was also renamed to 'nodeOrderChanged', since 'Slided' is no proper English.
This commit is contained in:
@@ -167,7 +167,7 @@ void ComponentView::selectedNodesChanged(const QList<ModelNode> &/*selectedNodeL
|
||||
|
||||
void ComponentView::fileUrlChanged(const QUrl &/*oldUrl*/, const QUrl &/*newUrl*/) {}
|
||||
|
||||
void ComponentView::nodeSlidedToIndex(const NodeListProperty &/*listProperty*/, int /*newIndex*/, int /*oldIndex*/) {}
|
||||
void ComponentView::nodeOrderChanged(const NodeListProperty &/*listProperty*/, const ModelNode & /*movedNode*/, int /*oldIndex*/) {}
|
||||
|
||||
void ComponentView::importsChanged() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user