summaryrefslogtreecommitdiffstats
path: root/examples/declarative/listview
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-09-11 00:54:11 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-09-11 00:54:11 (GMT)
commit7051254771882e88f64f9b5578d975f29efab0b6 (patch)
treef71981bafba35a768a63b243920a590ce29e6c18 /examples/declarative/listview
parent804c9ef64085fafe6f12b92e5dd40e595ed3460f (diff)
downloadQt-7051254771882e88f64f9b5578d975f29efab0b6.zip
Qt-7051254771882e88f64f9b5578d975f29efab0b6.tar.gz
Qt-7051254771882e88f64f9b5578d975f29efab0b6.tar.bz2
current -> currentItem property in ListView and GridView
Diffstat (limited to 'examples/declarative/listview')
-rw-r--r--examples/declarative/listview/highlight.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/listview/highlight.qml b/examples/declarative/listview/highlight.qml
index e707ac0..cb92ad9 100644
--- a/examples/declarative/listview/highlight.qml
+++ b/examples/declarative/listview/highlight.qml
@@ -44,7 +44,7 @@ Rectangle {
id: PetHighlight
Rectangle {
width: 200; height: 50; color: "#FFFF88"
- y: SpringFollow { source: List1.current.y; spring: 3; damping: 0.1 }
+ y: SpringFollow { source: List1.currentItem.y; spring: 3; damping: 0.1 }
}
}
ListView {