From e4ae48b67511ec09ae0c1b8cb52ef20ae7a463d8 Mon Sep 17 00:00:00 2001 From: Thomas McGuire Date: Fri, 24 Aug 2012 14:18:20 +0200 Subject: Make sensor explorer example again In QML it is now no longer allowed to override signals with a new signal that has the same name. In this case, the property change notification signal was overridden. Turns out that is not needed anyway here. Change-Id: I7e0a3f00098867dfb98273f264cc8dddd15cfaec Reviewed-by: Lorn Potter --- examples/sensors/sensor_explorer/PropertyList.qml | 3 --- 1 file changed, 3 deletions(-) (limited to 'examples/sensors/sensor_explorer/PropertyList.qml') diff --git a/examples/sensors/sensor_explorer/PropertyList.qml b/examples/sensors/sensor_explorer/PropertyList.qml index 846c4cca..b180d620 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(); } } } -- cgit v1.2.3