From 01956f9244bf6da45745a836333a9baf134c4075 Mon Sep 17 00:00:00 2001 From: Ralf Engels Date: Thu, 5 Aug 2010 14:07:55 +0200 Subject: Fix QListWidget test --- tests/auto/qlistwidget/tst_qlistwidget.cpp | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v0.12