summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-09-07 09:29:24 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-09-07 09:30:26 (GMT)
commitd4b695977171177f5f302b845273039aebd618ac (patch)
tree8ac007b36304ac9d74ff19906844622e7d54b15a /tests
parent4d044d5947bd7b49b93146097d934ccdce3746c2 (diff)
downloadQt-d4b695977171177f5f302b845273039aebd618ac.zip
Qt-d4b695977171177f5f302b845273039aebd618ac.tar.gz
Qt-d4b695977171177f5f302b845273039aebd618ac.tar.bz2
Fix tst_QItemDelegate::task257859_finalizeEdit on Mac
qFindChildren<QWidget*> would also find the QFocusFrame in addition to the line edit
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qitemdelegate/tst_qitemdelegate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qitemdelegate/tst_qitemdelegate.cpp b/tests/auto/qitemdelegate/tst_qitemdelegate.cpp
index dc013b9..1ef77c0 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);