summaryrefslogtreecommitdiffstats
path: root/tests/auto/qcolumnview
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@nokia.com>2010-08-05 13:20:38 +0200
committerHarald Fernengel <harald.fernengel@nokia.com>2010-11-02 15:30:45 +0100
commit145126c11d71648fa5eeb1abcd023e418fde8022 (patch)
treee125b8a7a13701dba9d1745fc07b21329dd98ada /tests/auto/qcolumnview
parent193e4fccf1f472a2ff9f6d914d4a27d1e39e568f (diff)
Fixed QColumnView autotest. Added an QApplication::processEvents
Diffstat (limited to 'tests/auto/qcolumnview')
-rw-r--r--tests/auto/qcolumnview/tst_qcolumnview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qcolumnview/tst_qcolumnview.cpp b/tests/auto/qcolumnview/tst_qcolumnview.cpp
index fbfdf87daf..d4caede87a 100644
--- a/tests/auto/qcolumnview/tst_qcolumnview.cpp
+++ b/tests/auto/qcolumnview/tst_qcolumnview.cpp
@@ -429,6 +429,8 @@ void tst_QColumnView::scrollTo()
view.setFocus(Qt::OtherFocusReason);
else
view.clearFocus();
+
+ qApp->processEvents();
QTRY_COMPARE(view.hasFocus(), giveFocus);
// scroll to the right
int level = 0;