summaryrefslogtreecommitdiffstats
path: root/examples/declarative
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-12-16 02:12:49 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-12-16 02:12:49 (GMT)
commit3f9d0888c7ad79063b8a53c85e89ff95dce2a45b (patch)
treed4427258a913c83b217ee7822e6775fd31c23dcc /examples/declarative
parent211a63a1e3669055e28dfba4cff1e2b7f6e5e3ca (diff)
downloadQt-3f9d0888c7ad79063b8a53c85e89ff95dce2a45b.zip
Qt-3f9d0888c7ad79063b8a53c85e89ff95dce2a45b.tar.gz
Qt-3f9d0888c7ad79063b8a53c85e89ff95dce2a45b.tar.bz2
Faster sections.
Diffstat (limited to 'examples/declarative')
-rw-r--r--examples/declarative/listview/sections.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/declarative/listview/sections.qml b/examples/declarative/listview/sections.qml
index 6b1a589..b51cf58 100644
--- a/examples/declarative/listview/sections.qml
+++ b/examples/declarative/listview/sections.qml
@@ -64,7 +64,8 @@ Rectangle {
highlight: petHighlight
// The sectionExpression is simply the size of the pet.
// We use this to determine which section we are in above.
- sectionExpression: "size"
+ section.property: "size"
+ section.criteria: ViewSection.FullString
focus: true
}
}