From 145126c11d71648fa5eeb1abcd023e418fde8022 Mon Sep 17 00:00:00 2001 From: Dominik Holland Date: Thu, 5 Aug 2010 13:20:38 +0200 Subject: Fixed QColumnView autotest. Added an QApplication::processEvents --- tests/auto/qcolumnview/tst_qcolumnview.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v0.12