summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2020-02-15 03:04:58 +0100
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2020-02-15 03:04:59 +0100
commitac0f95f6f1d54d689a5f6525b4636634106821f6 (patch)
treedff8d25f1d8e589bc431e3189f65df5a59713e1b
parent749ae042fec78042f8f5640e21aaaaae43869946 (diff)
parent63c972ad9e15b673779147c4c263ed2ac5312a28 (diff)
Merge remote-tracking branch 'origin/5.15' into dev
-rw-r--r--examples/sensors/sensor_explorer/import/explorer.cpp2
-rw-r--r--examples/sensors/sensor_explorer/import/sensoritem.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/sensors/sensor_explorer/import/explorer.cpp b/examples/sensors/sensor_explorer/import/explorer.cpp
index 4773ee18..0665a98f 100644
--- a/examples/sensors/sensor_explorer/import/explorer.cpp
+++ b/examples/sensors/sensor_explorer/import/explorer.cpp
@@ -117,7 +117,7 @@ void QSensorExplorer::loadSensors()
*/
QQmlListProperty<QSensorItem> QSensorExplorer::availableSensors()
{
- return QQmlListProperty<QSensorItem>(this,_availableSensors);
+ return QQmlListProperty<QSensorItem>(this, &_availableSensors);
}
/*
diff --git a/examples/sensors/sensor_explorer/import/sensoritem.cpp b/examples/sensors/sensor_explorer/import/sensoritem.cpp
index 88b5fa7c..f268db3a 100644
--- a/examples/sensors/sensor_explorer/import/sensoritem.cpp
+++ b/examples/sensors/sensor_explorer/import/sensoritem.cpp
@@ -325,7 +325,7 @@ QQmlListProperty<QPropertyInfo> QSensorItem::properties()
_properties.clear();
_properties.append(_sensorProperties);
_properties.append(_readerProperties);
- return QQmlListProperty<QPropertyInfo> (this, _properties);
+ return QQmlListProperty<QPropertyInfo> (this, &_properties);
}
QT_END_NAMESPACE