aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/formeditor/movetool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmldesigner/components/formeditor/movetool.cpp')
-rw-r--r--src/plugins/qmldesigner/components/formeditor/movetool.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/qmldesigner/components/formeditor/movetool.cpp b/src/plugins/qmldesigner/components/formeditor/movetool.cpp
index 449cdd745c..76b8f9a5f6 100644
--- a/src/plugins/qmldesigner/components/formeditor/movetool.cpp
+++ b/src/plugins/qmldesigner/components/formeditor/movetool.cpp
@@ -94,9 +94,9 @@ void MoveTool::mouseMoveEvent(const QList<QGraphicsItem*> &itemList,
const FormEditorItem *movingItem = m_movingItems.constFirst();
- if (m_movingItems.count() > 1
- || (movingItem->qmlItemNode().canBereparentedTo(containerItem->qmlItemNode())))
- m_moveManipulator.reparentTo(containerItem, MoveManipulator::EnforceReparent);
+ if (m_movingItems.size() > 1
+ || (movingItem->qmlItemNode().canBereparentedTo(containerItem->qmlItemNode())))
+ m_moveManipulator.reparentTo(containerItem, MoveManipulator::EnforceReparent);
}
}