forked from qt-creator/qt-creator
QmlDesigner: Remove unused QmlItemNode::defaultPropertyChildren
Change-Id: If20457a3d7f6017421b360a77c452395ff0e9219 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -69,7 +69,6 @@ public:
|
||||
QmlModelStateGroup states() const;
|
||||
QList<QmlItemNode> children() const;
|
||||
QList<QmlObjectNode> resources() const;
|
||||
QList<QmlItemNode> defaultPropertyChildren() const;
|
||||
QList<QmlObjectNode> allDirectSubNodes() const;
|
||||
QmlAnchors anchors() const;
|
||||
|
||||
|
@@ -318,18 +318,6 @@ QList<QmlObjectNode> QmlItemNode::resources() const
|
||||
return toQmlObjectNodeList(resourcesList);
|
||||
}
|
||||
|
||||
QList<QmlItemNode> QmlItemNode::defaultPropertyChildren() const
|
||||
{
|
||||
QList<ModelNode> defaultPropertyChildrenList;
|
||||
|
||||
if (isValid()) {
|
||||
if (modelNode().hasNodeListProperty(defaultPropertyName()))
|
||||
defaultPropertyChildrenList.append(modelNode().nodeListProperty(defaultPropertyName()).toModelNodeList());
|
||||
}
|
||||
|
||||
return toQmlItemNodeList(defaultPropertyChildrenList);
|
||||
}
|
||||
|
||||
QList<QmlObjectNode> QmlItemNode::allDirectSubNodes() const
|
||||
{
|
||||
return toQmlObjectNodeList(modelNode().allDirectSubModelNodes());
|
||||
|
Reference in New Issue
Block a user