diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp index dc922630b0205f7890daa0e73732bdb987961550..67b1141e6cdb62d8e21907ac57d67e9f3632a2d6 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp @@ -699,9 +699,9 @@ void PropertyEditor::modelAboutToBeDetached(Model *model) } -void PropertyEditor::propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) +void PropertyEditor::propertiesRemoved(const QList<AbstractProperty>& propertyList) { - QmlModelView::propertiesAboutToBeRemoved(propertyList); + QmlModelView::propertiesRemoved(propertyList); if (!m_selectedNode.isValid()) return; diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.h b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.h index 730db75dc37e4052b8044f6aa1e0dda017ddb9a0..d8d48eb44c71bd06584ba9c76f32918df4e5d7fb 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.h +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.h @@ -81,7 +81,7 @@ public: void nodeAboutToBeRemoved(const ModelNode &removedNode); void propertiesAdded(const NodeState &state, const QList<NodeProperty>& propertyList); - void propertiesAboutToBeRemoved(const NodeState &state, const QList<NodeProperty>& propertyList); + void propertiesRemoved(const QList<AbstractProperty>& propertyList); void propertyValuesChanged(const NodeState &state, const QList<NodeProperty>& propertyList); void modelAttached(Model *model); @@ -90,10 +90,6 @@ public: ModelState modelState() const; - - - - void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList); void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange); void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange);