aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/holistic/testtypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/qml/holistic/testtypes.h')
-rw-r--r--tests/benchmarks/qml/holistic/testtypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/qml/holistic/testtypes.h b/tests/benchmarks/qml/holistic/testtypes.h
index 9d187f35ff..3cf0664ef2 100644
--- a/tests/benchmarks/qml/holistic/testtypes.h
+++ b/tests/benchmarks/qml/holistic/testtypes.h
@@ -109,7 +109,7 @@ public:
emit objectChanged();
}
- QQmlListProperty<QObject> objectListProperty() { return QQmlListProperty<QObject>(this, m_objectQList); }
+ QQmlListProperty<QObject> objectListProperty() { return QQmlListProperty<QObject>(this, &m_objectQList); }
bool methodCalled() const { return m_methodCalled; }
bool methodIntCalled() const { return m_methodIntCalled; }