summaryrefslogtreecommitdiffstats
path: root/tests/auto/qwidget/tst_qwidget.cpp
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2009-09-10 13:59:03 +0200
committerPaul Olav Tvete <paul.tvete@nokia.com>2009-09-10 14:00:53 +0200
commitf780a783008c4ae30df76f6340deef2884564661 (patch)
tree2dc28fea345788afbc98f370b1d4dcca0589cbbf /tests/auto/qwidget/tst_qwidget.cpp
parentd2f8e1ebbf7b5bb0e143ac797eccb9d059173676 (diff)
Make test pass on QWS
Reviewed-by: jbarron
Diffstat (limited to 'tests/auto/qwidget/tst_qwidget.cpp')
-rw-r--r--tests/auto/qwidget/tst_qwidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qwidget/tst_qwidget.cpp b/tests/auto/qwidget/tst_qwidget.cpp
index 11ca298e7f..b94f381088 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);