Commit 24d1e544 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Rename removeVariantProperty in removeProperty



Change-Id: Id350f7d3e215d08210a3a535f89b12fe15928321
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 7048709a
......@@ -508,7 +508,7 @@ void PropertyEditor::changeValue(const QString &name)
try {
if (!value->value().isValid()) { //reset
fxObjectNode.removeVariantProperty(propertyName);
fxObjectNode.removeProperty(propertyName);
} else {
if (castedValue.isValid() && !castedValue.isNull()) {
m_locked = true;
......
......@@ -363,7 +363,7 @@ void PropertyEditorNodeWrapper::changeValue(const QString &propertyName)
if (valueObject->value().isValid())
fxObjectNode.setVariantProperty(name, valueObject->value());
else
fxObjectNode.removeVariantProperty(name);
fxObjectNode.removeProperty(name);
}
}
......
......@@ -89,7 +89,7 @@ public:
QList<QmlModelState> allAffectingStates() const;
QList<QmlModelStateOperation> allAffectingStatesOperations() const;
void removeVariantProperty(const PropertyName &name);
void removeProperty(const PropertyName &name);
void setParent(QmlObjectNode newParent);
......
......@@ -364,7 +364,7 @@ QList<QmlModelState> QmlObjectNode::allDefinedStates() const
*/
void QmlObjectNode::removeVariantProperty(const PropertyName &name)
void QmlObjectNode::removeProperty(const PropertyName &name)
{
if (!isValid())
throw new InvalidModelNodeException(__LINE__, __FUNCTION__, __FILE__);
......
Supports Markdown
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