aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlplugindump
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2020-08-25 16:18:55 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2020-08-31 12:42:27 +0200
commit22234c8a469be7c831aab51c9705e06f8624d24e (patch)
treeb1dc266af3843eefdb6ed2a6719f601dd9dc51cf /tests/auto/qml/qmlplugindump
parentf0cf6483ec73291fcef424951b69511388956acb (diff)
Remove deprecated QQmlListProperty constructor
[ChangeLog][QML][QQmlListProperty] Removed deprecated QQmlListProperty constructor taking a reference. Use the overload taking a pointer instead. Change-Id: I8942026d1bb1c88065659d96d648a4b256d7d427 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlplugindump')
-rw-r--r--tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/types.h b/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/types.h
index dfba55a094..72f30d8f1f 100644
--- a/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/types.h
+++ b/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/types.h
@@ -55,7 +55,7 @@ class ExtendedType : public QObject
public:
ExtendedType(QObject *parent = nullptr)
: QObject(parent) {}
- QQmlListProperty<QObject> data() { return QQmlListProperty<QObject>(this, m_data); }
+ QQmlListProperty<QObject> data() { return QQmlListProperty<QObject>(this, &m_data); }
private:
QList<QObject *> m_data;