aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickvisualdatamodel/tst_qquickvisualdatamodel.cpp
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@digia.com>2012-10-22 17:57:05 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-23 13:24:54 +0200
commit3e9caba478695443669ff880334ea69db6f764eb (patch)
treef555cc9e454241b4d10fbeeb9f3ee1ddb29868de /tests/auto/quick/qquickvisualdatamodel/tst_qquickvisualdatamodel.cpp
parent85fd1c48f32c266168c2e3d8195f81e59a7dc5e6 (diff)
Change qml list interface
Change-Id: I185c6f4cef6105544504324c1616b5995c219fe3 Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
Diffstat (limited to 'tests/auto/quick/qquickvisualdatamodel/tst_qquickvisualdatamodel.cpp')
-rw-r--r--tests/auto/quick/qquickvisualdatamodel/tst_qquickvisualdatamodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickvisualdatamodel/tst_qquickvisualdatamodel.cpp b/tests/auto/quick/qquickvisualdatamodel/tst_qquickvisualdatamodel.cpp
index 78ff64da07..bd2c964e1e 100644
--- a/tests/auto/quick/qquickvisualdatamodel/tst_qquickvisualdatamodel.cpp
+++ b/tests/auto/quick/qquickvisualdatamodel/tst_qquickvisualdatamodel.cpp
@@ -262,7 +262,7 @@ class StandardItemModel : public QStandardItemModel
Q_PROPERTY(QQmlListProperty<StandardItem> items READ items CONSTANT)
Q_CLASSINFO("DefaultProperty", "items")
public:
- QQmlListProperty<StandardItem> items() { return QQmlListProperty<StandardItem>(this, 0, append); }
+ QQmlListProperty<StandardItem> items() { return QQmlListProperty<StandardItem>(this, 0, append, 0, 0, 0); }
static void append(QQmlListProperty<StandardItem> *property, StandardItem *item)
{