summaryrefslogtreecommitdiffstats
path: root/tests/auto/qitemdelegate
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-04-15 07:39:55 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-04-15 08:57:38 (GMT)
commit4e78de5a4281bd1c27a984b13887975798573aae (patch)
tree9b72d9ab423fb2c839a8f9bc87910b86a1c11159 /tests/auto/qitemdelegate
parentfd5f83e612729cebc5395c992bd98628bb9ea25f (diff)
downloadQt-4e78de5a4281bd1c27a984b13887975798573aae.zip
Qt-4e78de5a4281bd1c27a984b13887975798573aae.tar.gz
Qt-4e78de5a4281bd1c27a984b13887975798573aae.tar.bz2
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 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);