summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2009-09-10 11:59:03 (GMT)
committerPaul Olav Tvete <paul.tvete@nokia.com>2009-09-10 12:00:53 (GMT)
commitf780a783008c4ae30df76f6340deef2884564661 (patch)
tree2dc28fea345788afbc98f370b1d4dcca0589cbbf /tests
parentd2f8e1ebbf7b5bb0e143ac797eccb9d059173676 (diff)
downloadQt-f780a783008c4ae30df76f6340deef2884564661.zip
Qt-f780a783008c4ae30df76f6340deef2884564661.tar.gz
Qt-f780a783008c4ae30df76f6340deef2884564661.tar.bz2
Make test pass on QWS
Reviewed-by: jbarron
Diffstat (limited to 'tests')
-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 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);