summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Engels <ralf.engels@nokia.com>2010-08-05 12:07:55 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2010-11-02 14:30:29 (GMT)
commit01956f9244bf6da45745a836333a9baf134c4075 (patch)
tree8ec24b07ee11b3d223ed4b09d1f5a04c7242043c
parent8c696e362851c8d98e5895c8f7302f02a1ba685a (diff)
downloadQt-01956f9244bf6da45745a836333a9baf134c4075.zip
Qt-01956f9244bf6da45745a836333a9baf134c4075.tar.gz
Qt-01956f9244bf6da45745a836333a9baf134c4075.tar.bz2
Fix QListWidget test
-rw-r--r--tests/auto/qlistwidget/tst_qlistwidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qlistwidget/tst_qlistwidget.cpp b/tests/auto/qlistwidget/tst_qlistwidget.cpp
index 990945d..6cfd6c5 100644
--- a/tests/auto/qlistwidget/tst_qlistwidget.cpp
+++ b/tests/auto/qlistwidget/tst_qlistwidget.cpp
@@ -1523,6 +1523,7 @@ void tst_QListWidget::fastScroll()
for (int i = 0; i < 50; ++i)
widget.addItem(QString("Item %1").arg(i));
+ topLevel.resize(300, 300); // toplevel needs to be wide enough for the item
topLevel.show();
// Make sure the widget gets the first full repaint. On
// some WMs, we'll get two (first inactive exposure, then