diff options
Diffstat (limited to 'examples/sensors')
-rw-r--r-- | examples/sensors/sensor_explorer/PropertyList.qml | 3 | ||||
-rw-r--r-- | examples/sensors/sensor_explorer/SensorList.qml | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/examples/sensors/sensor_explorer/PropertyList.qml b/examples/sensors/sensor_explorer/PropertyList.qml index 846c4cc..b180d62 100644 --- a/examples/sensors/sensor_explorer/PropertyList.qml +++ b/examples/sensors/sensor_explorer/PropertyList.qml @@ -48,13 +48,11 @@ Rectangle { color: "transparent" property PropertyInfo selectedItem: null; - signal selectedItemChanged(); property alias listmodel: itemList.model onListmodelChanged: { itemList.currentIndex = -1; selectedItem = null; - selectedItemChanged(); } Rectangle { @@ -121,7 +119,6 @@ Rectangle { onClicked: { itemList.currentIndex = index; selectedItem = model.modelData; - selectedItemChanged(); } } } diff --git a/examples/sensors/sensor_explorer/SensorList.qml b/examples/sensors/sensor_explorer/SensorList.qml index da15737..7369a99 100644 --- a/examples/sensors/sensor_explorer/SensorList.qml +++ b/examples/sensors/sensor_explorer/SensorList.qml @@ -48,14 +48,12 @@ Rectangle { color: "transparent" property SensorItem selectedItem: null; - signal selectedItemChanged(); property alias title: labelTitle.text property alias listmodel: itemList.model onListmodelChanged: { itemList.currentIndex = -1; selectedItem = null; - selectedItemChanged(); } Text { @@ -140,7 +138,6 @@ Rectangle { onClicked: { itemList.currentIndex = index; selectedItem = model.modelData; - selectedItemChanged(); } } } |