summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlistview
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-05 19:44:05 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-05 19:44:55 (GMT)
commitc7b091351d6fdf5fda5f38a94af24a395252249f (patch)
treed6be6ee3261dd3e899094e54faddbfdcbc73baf7 /tests/auto/qlistview
parent8cac1e7fe5bfda7e876d03d1407f616f89bd74f8 (diff)
downloadQt-c7b091351d6fdf5fda5f38a94af24a395252249f.zip
Qt-c7b091351d6fdf5fda5f38a94af24a395252249f.tar.gz
Qt-c7b091351d6fdf5fda5f38a94af24a395252249f.tar.bz2
Stabilize tests on X11
Diffstat (limited to 'tests/auto/qlistview')
-rw-r--r--tests/auto/qlistview/tst_qlistview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qlistview/tst_qlistview.cpp b/tests/auto/qlistview/tst_qlistview.cpp
index cba1776..7599ce6a06 100644
--- a/tests/auto/qlistview/tst_qlistview.cpp
+++ b/tests/auto/qlistview/tst_qlistview.cpp
@@ -1632,8 +1632,8 @@ void tst_QListView::task254449_draggingItemToNegativeCoordinates()
mutable int numPaints;
} delegate;
- list.setItemDelegate(&delegate);
delegate.numPaints = 0;
+ list.setItemDelegate(&delegate);
QApplication::processEvents();
QTRY_VERIFY(delegate.numPaints > 0); //makes sure the layout is done