Commit fc36ce7d authored by Nikolai Kosjar's avatar Nikolai Kosjar

QmlDesigner: Remove unused function

Change-Id: I4b16d0b511b7e5755c50391c4e1bdf2fabcdc4ab
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent 26bb6537
......@@ -155,13 +155,6 @@ void DragTool::createQmlItemNodeFromImage(const QString &imageName,
}
}
static inline bool isAncestorOf(FormEditorItem *formEditorItem, FormEditorItem *newParentItem)
{
if (formEditorItem && newParentItem)
return formEditorItem->isAncestorOf(newParentItem);
return false;
}
FormEditorItem* DragTool::targetContainerOrRootItem(const QList<QGraphicsItem*> &itemList, FormEditorItem * currentItem)
{
FormEditorItem *formEditorItem = containerFormEditorItem(itemList, QList<FormEditorItem*>() << currentItem);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment