diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-11-16 04:42:20 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-11-16 04:42:20 (GMT) |
commit | 5c87831d2d87925e0593afedd450715c15063a6c (patch) | |
tree | 6dde0b2c31db826e4a36c432cb5e88b0aa9ae00a /tests/auto/declarative/qmlgraphicsgridview/tst_qmlgraphicsgridview.cpp | |
parent | 43d7624e7e8212a265e06d31ad254f9491512625 (diff) | |
download | Qt-5c87831d2d87925e0593afedd450715c15063a6c.zip Qt-5c87831d2d87925e0593afedd450715c15063a6c.tar.gz Qt-5c87831d2d87925e0593afedd450715c15063a6c.tar.bz2 |
Test delegate being set before model.
Diffstat (limited to 'tests/auto/declarative/qmlgraphicsgridview/tst_qmlgraphicsgridview.cpp')
-rw-r--r-- | tests/auto/declarative/qmlgraphicsgridview/tst_qmlgraphicsgridview.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlgraphicsgridview/tst_qmlgraphicsgridview.cpp b/tests/auto/declarative/qmlgraphicsgridview/tst_qmlgraphicsgridview.cpp index d09aad7..d0b7462 100644 --- a/tests/auto/declarative/qmlgraphicsgridview/tst_qmlgraphicsgridview.cpp +++ b/tests/auto/declarative/qmlgraphicsgridview/tst_qmlgraphicsgridview.cpp @@ -390,7 +390,11 @@ void tst_QmlGraphicsGridView::removed() gridview->setViewportY(120); gridview->setCurrentIndex(10); + // let transitions settle. + QTest::qWait(300); + model.removeItem(1); + // let transitions settle. QTest::qWait(300); |