summaryrefslogtreecommitdiffstats
path: root/src/core/changes/qpropertynodeaddedchange.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/changes/qpropertynodeaddedchange.cpp')
-rw-r--r--src/core/changes/qpropertynodeaddedchange.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/changes/qpropertynodeaddedchange.cpp b/src/core/changes/qpropertynodeaddedchange.cpp
index 539c6a54a..c2eafe827 100644
--- a/src/core/changes/qpropertynodeaddedchange.cpp
+++ b/src/core/changes/qpropertynodeaddedchange.cpp
@@ -73,7 +73,7 @@ QPropertyNodeAddedChange::QPropertyNodeAddedChange(QNodeId subjectId, QNode *nod
: QStaticPropertyValueAddedChangeBase(*new QPropertyNodeAddedChangePrivate, subjectId)
{
Q_D(QPropertyNodeAddedChange);
- d->m_addedNodeIdTypePair = QNodeIdTypePair(node->id(), node->metaObject());
+ d->m_addedNodeIdTypePair = QNodeIdTypePair(node->id(), QNodePrivate::findStaticMetaObject(node->metaObject()));
}
/*! \internal */