forked from qt-creator/qt-creator
QmlDesigner: Remove DesignerActionManagerView::instancePropertyChanged
This can be pontentially very expensive and the notifier should not be required. Change-Id: Idf1096fb69efb08196b192596353bf544783d23c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -141,12 +141,6 @@ void DesignerActionManagerView::bindingPropertiesChanged(const QList<BindingProp
|
||||
setupContext(SelectionContext::UpdateMode::Properties);
|
||||
}
|
||||
|
||||
void DesignerActionManagerView::instancePropertyChanged(const QList<QPair<ModelNode, PropertyName> > &)
|
||||
{
|
||||
if (hasSingleSelectedModelNode())
|
||||
setupContext(SelectionContext::UpdateMode::Properties);
|
||||
}
|
||||
|
||||
void DesignerActionManagerView::customNotification(const AbstractView * /*view*/,
|
||||
const QString &identifier,
|
||||
const QList<ModelNode> & /* nodeList */,
|
||||
|
||||
@@ -64,8 +64,6 @@ public:
|
||||
void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChangeFlag) override;
|
||||
void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChangeFlag) override;
|
||||
|
||||
void instancePropertyChanged(const QList<QPair<ModelNode, PropertyName> > &propertyList) override;
|
||||
|
||||
DesignerActionManager &designerActionManager();
|
||||
const DesignerActionManager &designerActionManager() const;
|
||||
void emitSelectionChanged();
|
||||
|
||||
Reference in New Issue
Block a user