diff options
author | Dominik Holland <dominik.holland@nokia.com> | 2010-08-05 11:20:38 (GMT) |
---|---|---|
committer | Harald Fernengel <harald.fernengel@nokia.com> | 2010-11-02 14:30:45 (GMT) |
commit | 145126c11d71648fa5eeb1abcd023e418fde8022 (patch) | |
tree | e125b8a7a13701dba9d1745fc07b21329dd98ada | |
parent | 193e4fccf1f472a2ff9f6d914d4a27d1e39e568f (diff) | |
download | Qt-145126c11d71648fa5eeb1abcd023e418fde8022.zip Qt-145126c11d71648fa5eeb1abcd023e418fde8022.tar.gz Qt-145126c11d71648fa5eeb1abcd023e418fde8022.tar.bz2 |
Fixed QColumnView autotest. Added an QApplication::processEvents
-rw-r--r-- | tests/auto/qcolumnview/tst_qcolumnview.cpp | 2 |
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; |