From 13edffa303c0a4514035857b4a61b2665ede7b2c Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 28 Aug 2015 13:33:10 +0200 Subject: Move remaining objects to new constructor syntax Also disable the old way of constructing objects. Change-Id: Ib4e69087cd563ae1481da116d6caf97876239798 Reviewed-by: Simon Hausmann --- src/qml/types/qqmllistmodel_p_p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qml/types/qqmllistmodel_p_p.h') diff --git a/src/qml/types/qqmllistmodel_p_p.h b/src/qml/types/qqmllistmodel_p_p.h index bd0f028e7a..d7e0defaec 100644 --- a/src/qml/types/qqmllistmodel_p_p.h +++ b/src/qml/types/qqmllistmodel_p_p.h @@ -155,8 +155,8 @@ namespace QV4 { namespace Heap { struct ModelObject : public QObjectWrapper { - ModelObject(QV4::ExecutionEngine *engine, QObject *object, QQmlListModel *model, int elementIndex) - : QObjectWrapper(engine, object) + ModelObject(QObject *object, QQmlListModel *model, int elementIndex) + : QObjectWrapper(object) , m_model(model) , m_elementIndex(elementIndex) {} -- cgit v1.2.3