diff options
Diffstat (limited to 'tests/auto/widgets/itemviews/qtableview/tst_qtableview.cpp')
-rw-r--r-- | tests/auto/widgets/itemviews/qtableview/tst_qtableview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/widgets/itemviews/qtableview/tst_qtableview.cpp b/tests/auto/widgets/itemviews/qtableview/tst_qtableview.cpp index d1107a687c..13476a7ffa 100644 --- a/tests/auto/widgets/itemviews/qtableview/tst_qtableview.cpp +++ b/tests/auto/widgets/itemviews/qtableview/tst_qtableview.cpp @@ -3727,7 +3727,7 @@ void tst_QTableView::addColumnWhileEditing() //let's see if the editor is moved to the right location //after adding a column model.setColumnCount(model.columnCount() + 1); - QPointer<QLineEdit> editor = qFindChild<QLineEdit*>(&view); + QPointer<QLineEdit> editor = view.findChild<QLineEdit*>(); QVERIFY(editor); QCOMPARE(editor->geometry(), view.visualRect(last)); |