summaryrefslogtreecommitdiffstats
path: root/tests/auto/qitemdelegate
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-04-15 09:39:55 +0200
committerOlivier Goffart <ogoffart@trolltech.com>2009-04-15 10:57:38 +0200
commit4e78de5a4281bd1c27a984b13887975798573aae (patch)
tree9b72d9ab423fb2c839a8f9bc87910b86a1c11159 /tests/auto/qitemdelegate
parentfd5f83e612729cebc5395c992bd98628bb9ea25f (diff)
Stabilize test for QItemDelegate
Diffstat (limited to 'tests/auto/qitemdelegate')
-rw-r--r--tests/auto/qitemdelegate/tst_qitemdelegate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qitemdelegate/tst_qitemdelegate.cpp b/tests/auto/qitemdelegate/tst_qitemdelegate.cpp
index befe0eb176..27741e08fd 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);