From 4e78de5a4281bd1c27a984b13887975798573aae Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Wed, 15 Apr 2009 09:39:55 +0200 Subject: Stabilize test for QItemDelegate --- tests/auto/qitemdelegate/tst_qitemdelegate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/auto/qitemdelegate/tst_qitemdelegate.cpp b/tests/auto/qitemdelegate/tst_qitemdelegate.cpp index befe0eb..27741e0 100644 --- a/tests/auto/qitemdelegate/tst_qitemdelegate.cpp +++ b/tests/auto/qitemdelegate/tst_qitemdelegate.cpp @@ -777,6 +777,7 @@ void tst_QItemDelegate::dateTimeEditor() QCOMPARE(timeEditor->time(), time); widget.clearFocus(); + qApp->setActiveWindow(&widget); widget.setFocus(); widget.editItem(item2); -- cgit v0.12