diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2018-08-13 14:51:16 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2018-08-13 20:08:45 +0000 |
commit | 414d8f65786ed3d2020dd85965224a59068a0d5d (patch) | |
tree | 2949cd456d6951dc47213f692484d51f11bf3ca6 /tests/auto/quick/qquicktableview | |
parent | c7ec614a8443a559a722b83ccf1c370fb1ee5a42 (diff) |
QQuickTableView: rename attached prop tableView to view
ListView calls the same attached property for 'view'. So
do the same for TableView.
Change-Id: I99034869813750e2fab56fe6ffcc4b4a6a4d9c52
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/quick/qquicktableview')
-rw-r--r-- | tests/auto/quick/qquicktableview/tst_qquicktableview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp b/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp index eefa0411b7..c91085b0ff 100644 --- a/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp +++ b/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp @@ -831,6 +831,7 @@ void tst_QQuickTableView::checkInitialAttachedProperties() QCOMPARE(contextCell.x(), cell.x()); QCOMPARE(contextIndex, index); QCOMPARE(contextModelData, QStringLiteral("%1").arg(cell.y())); + QCOMPARE(getAttachedObject(item)->view(), tableView); } } |