From f780a783008c4ae30df76f6340deef2884564661 Mon Sep 17 00:00:00 2001 From: Paul Olav Tvete Date: Thu, 10 Sep 2009 13:59:03 +0200 Subject: Make test pass on QWS Reviewed-by: jbarron --- tests/auto/qwidget/tst_qwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/auto/qwidget/tst_qwidget.cpp b/tests/auto/qwidget/tst_qwidget.cpp index 11ca298..b94f381 100644 --- a/tests/auto/qwidget/tst_qwidget.cpp +++ b/tests/auto/qwidget/tst_qwidget.cpp @@ -9229,6 +9229,7 @@ void tst_QWidget::destroyBackingStore() w.reset(); w.update(); + QApplication::processEvents(); delete qt_widget_private(&w)->topData()->backingStore; qt_widget_private(&w)->topData()->backingStore = 0; qt_widget_private(&w)->topData()->backingStore = new QWidgetBackingStore(&w); -- cgit v0.12