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:
@@ -52,7 +52,7 @@ void DesignDocumentControllerView::nodeTypeChanged(const ModelNode & /*node*/,co
|
||||
void DesignDocumentControllerView::selectedNodesChanged(const QList<ModelNode> & /*selectedNodeList*/,
|
||||
const QList<ModelNode> & /*lastSelectedNodeList*/) {};
|
||||
|
||||
void DesignDocumentControllerView::nodeSlidedToIndex(const NodeListProperty & /*listProperty*/, int /*newIndex*/, int /*oldIndex*/) {};
|
||||
void DesignDocumentControllerView::nodeOrderChanged(const NodeListProperty & /*listProperty*/, const ModelNode & /*movedNode*/, int /*oldIndex*/) {};
|
||||
|
||||
static QStringList arrayToStringList(const QByteArray &byteArray)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user