Commit 92ee705c authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.metaInfo: Pure cpp types have now the namespace <cpp>

Reviewed-by: Marco Bubke
parent 33beaa9c
......@@ -535,7 +535,7 @@ void NavigatorTreeModel::moveNodesInteractive(NodeAbstractProperty parentPropert
}
}
if (parentProperty.isDefaultProperty() && parentProperty.parentModelNode().metaInfo().isSubclassOf("QtQuick.QDeclarativeBasePositioner", -1, -1)) {
if (parentProperty.isDefaultProperty() && parentProperty.parentModelNode().metaInfo().isSubclassOf("<cpp>.QDeclarativeBasePositioner", -1, -1)) {
ModelNode currentNode = node;
if (currentNode.hasProperty("x"))
currentNode.removeProperty("x");
......
......@@ -60,7 +60,7 @@ bool QmlPropertyChanges::isValid() const
bool QmlModelStateOperation::isValid() const
{
return QmlModelNodeFacade::isValid() && modelNode().metaInfo().isSubclassOf("QtQuick.QDeclarativeStateOperation", -1, -1);
return QmlModelNodeFacade::isValid() && modelNode().metaInfo().isSubclassOf("<cpp>.QDeclarativeStateOperation", -1, -1);
}
void QmlPropertyChanges::removeProperty(const QString &name)
......
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