diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-09-11 22:57:10 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-11 22:58:25 +0200 |
commit | 845b07dad47e63bf285461433f4321d71c6c343d (patch) | |
tree | 79127d87ed8c605fe9fd332c426c966811eb3d48 /src/qml/qml/qqmlobjectcreator_p.h | |
parent | 89402e0ef69da3c954a540510e8b4e8501bc1ce3 (diff) |
Fix -Werror build
Change-Id: Ib184ad5e0c99050df227e2c8413b466fccb69236
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlobjectcreator_p.h')
-rw-r--r-- | src/qml/qml/qqmlobjectcreator_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlobjectcreator_p.h b/src/qml/qml/qqmlobjectcreator_p.h index e62efc3439..de868560e9 100644 --- a/src/qml/qml/qqmlobjectcreator_p.h +++ b/src/qml/qml/qqmlobjectcreator_p.h @@ -62,7 +62,7 @@ public: QQmlCompiledData *runtimeData); QObject *create(QObject *parent = 0) - { return create(unit->indexOfRootObject); } + { return create(unit->indexOfRootObject, parent); } QObject *create(int index, QObject *parent = 0); QList<QQmlError> errors; |