From d4b695977171177f5f302b845273039aebd618ac Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Mon, 7 Sep 2009 11:29:24 +0200 Subject: Fix tst_QItemDelegate::task257859_finalizeEdit on Mac qFindChildren would also find the QFocusFrame in addition to the line edit --- tests/auto/qitemdelegate/tst_qitemdelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/qitemdelegate/tst_qitemdelegate.cpp b/tests/auto/qitemdelegate/tst_qitemdelegate.cpp index dc013b9f4e..1ef77c0e28 100644 --- a/tests/auto/qitemdelegate/tst_qitemdelegate.cpp +++ b/tests/auto/qitemdelegate/tst_qitemdelegate.cpp @@ -1155,7 +1155,7 @@ void tst_QItemDelegate::task257859_finalizeEdit() view.edit(index); QTest::qWait(30); - QList lineEditors = qFindChildren(view.viewport()); + QList lineEditors = qFindChildren(view.viewport()); QCOMPARE(lineEditors.count(), 1); QPointer editor = lineEditors.at(0); -- cgit v1.2.3