diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-04-15 07:39:55 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-04-15 08:57:38 (GMT) |
commit | 4e78de5a4281bd1c27a984b13887975798573aae (patch) | |
tree | 9b72d9ab423fb2c839a8f9bc87910b86a1c11159 /tests/auto/qitemdelegate | |
parent | fd5f83e612729cebc5395c992bd98628bb9ea25f (diff) | |
download | Qt-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.cpp | 1 |
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); |