diff --git a/src/plugins/qmldesigner/components/debugview/debugview.cpp b/src/plugins/qmldesigner/components/debugview/debugview.cpp index a51283bb543..c4dd86c44e7 100644 --- a/src/plugins/qmldesigner/components/debugview/debugview.cpp +++ b/src/plugins/qmldesigner/components/debugview/debugview.cpp @@ -163,8 +163,21 @@ void DebugView::nodeIdChanged(const ModelNode &node, const QString &newId, const } } -void DebugView::propertiesAboutToBeRemoved(const QList & /*propertyList*/) +void DebugView::propertiesAboutToBeRemoved(const QList &propertyList) { + if (isDebugViewEnabled()) { + QTextStream message; + QString string; + message.setString(&string); + for (const AbstractProperty &property : propertyList) { + message << property; + if (property.isNodeAbstractProperty()) + message << " is NodeAbstractProperty"; + if (property.isDefaultProperty()) + message << " is DefaultProperty"; + } + log("::propertiesAboutToBeRemoved:", string); + } } void DebugView::variantPropertiesChanged(const QList &propertyList,