summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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