diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-12-16 02:12:49 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-12-16 02:12:49 (GMT) |
commit | 3f9d0888c7ad79063b8a53c85e89ff95dce2a45b (patch) | |
tree | d4427258a913c83b217ee7822e6775fd31c23dcc /examples/declarative | |
parent | 211a63a1e3669055e28dfba4cff1e2b7f6e5e3ca (diff) | |
download | Qt-3f9d0888c7ad79063b8a53c85e89ff95dce2a45b.zip Qt-3f9d0888c7ad79063b8a53c85e89ff95dce2a45b.tar.gz Qt-3f9d0888c7ad79063b8a53c85e89ff95dce2a45b.tar.bz2 |
Faster sections.
Diffstat (limited to 'examples/declarative')
-rw-r--r-- | examples/declarative/listview/sections.qml | 3 |
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 } } |