forked from qt-creator/qt-creator
QmlDesigner: Remove unused function
Change-Id: I4b16d0b511b7e5755c50391c4e1bdf2fabcdc4ab Reviewed-by: Marco Bubke <marco.bubke@digia.com>
This commit is contained in:
@@ -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* DragTool::targetContainerOrRootItem(const QList<QGraphicsItem*> &itemList, FormEditorItem * currentItem)
|
||||||
{
|
{
|
||||||
FormEditorItem *formEditorItem = containerFormEditorItem(itemList, QList<FormEditorItem*>() << currentItem);
|
FormEditorItem *formEditorItem = containerFormEditorItem(itemList, QList<FormEditorItem*>() << currentItem);
|
||||||
|
Reference in New Issue
Block a user