Commit 4fe63ed7 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner: Remove unused code

Change-Id: Id35a743377d77882c7fc5e33e2a69a01c0fde140
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent 31142bdf
......@@ -101,11 +101,6 @@ static inline QString msgUnknownItem(const QString &t)
return NavigatorTreeModel::tr("Unknown item: %1").arg(t);
}
static bool isRootNodeOrAcceptedChild(const ModelNode &modelNode)
{
return modelNode.isRootNode() || acceptedModelNodeChildren(modelNode.parentProperty().parentModelNode()).contains(modelNode);
}
static void removePosition(const ModelNode &node)
{
ModelNode modelNode = node;
......
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