summaryrefslogtreecommitdiffstats
path: root/examples/declarative/xmldata/yahoonews.qml
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-10-09 01:10:43 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-09 01:15:29 (GMT)
commitb957118a2d2f44cec5f1a0709da26a5c685cc344 (patch)
treeff6375ac4eee91bf6a8531ee817f74976377f4d5 /examples/declarative/xmldata/yahoonews.qml
parent931350a9cb24f30e6fd6c227dbdc40937d59a705 (diff)
downloadQt-b957118a2d2f44cec5f1a0709da26a5c685cc344.zip
Qt-b957118a2d2f44cec5f1a0709da26a5c685cc344.tar.gz
Qt-b957118a2d2f44cec5f1a0709da26a5c685cc344.tar.bz2
Fix example errors
Diffstat (limited to 'examples/declarative/xmldata/yahoonews.qml')
-rw-r--r--examples/declarative/xmldata/yahoonews.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/xmldata/yahoonews.qml b/examples/declarative/xmldata/yahoonews.qml
index bad1d88..6d43f46 100644
--- a/examples/declarative/xmldata/yahoonews.qml
+++ b/examples/declarative/xmldata/yahoonews.qml
@@ -32,7 +32,7 @@ Rectangle {
height: wrapper.height + 10
MouseRegion {
anchors.fill: wrapper
- onPressed: { delegate.ListView.list.currentIndex = index; }
+ onPressed: { delegate.ListView.view.currentIndex = index; }
onClicked: { if (wrapper.state == 'Details') { wrapper.state = '';} else {wrapper.state = 'Details';} }
}
Rectangle {