summaryrefslogtreecommitdiffstats
path: root/tests/auto/qcolumnview
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@nokia.com>2010-08-05 11:20:38 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2010-11-02 14:30:45 (GMT)
commit145126c11d71648fa5eeb1abcd023e418fde8022 (patch)
treee125b8a7a13701dba9d1745fc07b21329dd98ada /tests/auto/qcolumnview
parent193e4fccf1f472a2ff9f6d914d4a27d1e39e568f (diff)
downloadQt-145126c11d71648fa5eeb1abcd023e418fde8022.zip
Qt-145126c11d71648fa5eeb1abcd023e418fde8022.tar.gz
Qt-145126c11d71648fa5eeb1abcd023e418fde8022.tar.bz2
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 fbfdf87..d4caede 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;