diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-03-24 05:33:50 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-03-24 05:33:50 (GMT) |
commit | 1e03f391889d90a25847add3a42b1debda4f3edb (patch) | |
tree | 658ee7643fa7851a97a43b1676c0c89c3597afa0 /tests/auto/declarative | |
parent | 213990335e42727d4eaa6753e6b71b3c9cfe85d5 (diff) | |
download | Qt-1e03f391889d90a25847add3a42b1debda4f3edb.zip Qt-1e03f391889d90a25847add3a42b1debda4f3edb.tar.gz Qt-1e03f391889d90a25847add3a42b1debda4f3edb.tar.bz2 |
Fix flicking views at boundary with StricthighlighRange
Task-number: QTBUG-9256
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r-- | tests/auto/declarative/qdeclarativegridview/data/setindex.qml | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/auto/declarative/qdeclarativegridview/data/setindex.qml b/tests/auto/declarative/qdeclarativegridview/data/setindex.qml index 908b365..b272d58 100644 --- a/tests/auto/declarative/qdeclarativegridview/data/setindex.qml +++ b/tests/auto/declarative/qdeclarativegridview/data/setindex.qml @@ -8,13 +8,9 @@ Rectangle { Item { id : wrapper - Script { - function startupFunction() - { - if (index == 5) view.currentIndex = index; - - } - } + function startupFunction() { + if (index == 5) view.currentIndex = index; + } Component.onCompleted: startupFunction(); width: 30; height: 30 Text { text: index } |