summaryrefslogtreecommitdiffstats
path: root/src/core/changes/qcomponentaddedchange.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/changes/qcomponentaddedchange.h')
-rw-r--r--src/core/changes/qcomponentaddedchange.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/changes/qcomponentaddedchange.h b/src/core/changes/qcomponentaddedchange.h
index a62cac116..e7676a026 100644
--- a/src/core/changes/qcomponentaddedchange.h
+++ b/src/core/changes/qcomponentaddedchange.h
@@ -55,6 +55,8 @@ class QT3DCORESHARED_EXPORT QComponentAddedChange : public QSceneChange
public:
explicit QComponentAddedChange(const QEntity *entity,
const QComponent *component);
+ explicit QComponentAddedChange(const QComponent *component,
+ const QEntity *entity);
~QComponentAddedChange();
QNodeId entityId() const Q_DECL_NOTHROW;