diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-07 11:29:24 +0200 |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-07 11:30:26 +0200 |
commit | d4b695977171177f5f302b845273039aebd618ac (patch) | |
tree | 8ac007b36304ac9d74ff19906844622e7d54b15a | |
parent | 4d044d5947bd7b49b93146097d934ccdce3746c2 (diff) |
Fix tst_QItemDelegate::task257859_finalizeEdit on Mac
qFindChildren<QWidget*> would also find the QFocusFrame in addition to
the line edit
-rw-r--r-- | tests/auto/qitemdelegate/tst_qitemdelegate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<QWidget*> lineEditors = qFindChildren<QWidget *>(view.viewport()); + QList<QLineEdit *> lineEditors = qFindChildren<QLineEdit *>(view.viewport()); QCOMPARE(lineEditors.count(), 1); QPointer<QWidget> editor = lineEditors.at(0); |