diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-08-26 07:18:21 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-08-26 07:18:21 (GMT) |
commit | ff10e44642d65b2dde50579c4994aa9def43f4c0 (patch) | |
tree | 4de475c2238fb2c120a6f15b3e1534242154ee75 /tests/auto/declarative | |
parent | 48d057b8f4ae70d9ea43d4a234ff63956a70c3b6 (diff) | |
download | Qt-ff10e44642d65b2dde50579c4994aa9def43f4c0.zip Qt-ff10e44642d65b2dde50579c4994aa9def43f4c0.tar.gz Qt-ff10e44642d65b2dde50579c4994aa9def43f4c0.tar.bz2 |
Handle layoutChanged() properly in QML views.
Update all visible items when layoutChanged() is emitted.
Task-number: QTBUG-13146
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r-- | tests/auto/declarative/qdeclarativelistview/tst_qdeclarativelistview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativelistview/tst_qdeclarativelistview.cpp b/tests/auto/declarative/qdeclarativelistview/tst_qdeclarativelistview.cpp index e7c61db..bf4754d 100644 --- a/tests/auto/declarative/qdeclarativelistview/tst_qdeclarativelistview.cpp +++ b/tests/auto/declarative/qdeclarativelistview/tst_qdeclarativelistview.cpp @@ -1002,7 +1002,7 @@ void tst_QDeclarativeListView::currentIndex() listview->decrementCurrentIndex(); QCOMPARE(listview->currentIndex(), model.count()-1); - QTRY_COMPARE(listview->contentY(), 279.0); + QTRY_COMPARE(listview->contentY(), 280.0); listview->incrementCurrentIndex(); QCOMPARE(listview->currentIndex(), 0); |