aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2018-08-10 14:25:22 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2018-08-10 15:00:19 +0000
commit0bd3c9cda678b7e158c6142c1567ac927fde18b9 (patch)
tree551b1e91b2365c1674f14fdec4bc7a2df7cde4c9 /tests/manual
parent481ea25bc8aa64e7131edd85a6c871b2a3193f58 (diff)
QQuickTableView: remove cacheBuffer from the public API
As discussed during API review, remove cacheBuffer from the public API. The cache buffer was a feature inherited from ListView to avoid loading a lot of items (and affect performance) when the user started to flick. But now that TableView has support for reusing items, the point of the cache buffer is more or less gone. At least we choose to remove it from the public API until we have better understanding if this is really needed. Note that the cacheBuffer still plays a small role internally, so we don't remove it from the implementation. We want to preload an extra row and column for reuse at start-up, since you often cannot reuse the first row and column during the first flick (they will still be visible on the screen). Change-Id: Ie62835a04ac29a84c9a76151b73fe2f75d9ae844 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/tableview/abstracttablemodel/main.qml1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/manual/tableview/abstracttablemodel/main.qml b/tests/manual/tableview/abstracttablemodel/main.qml
index 52541657df..a9b8da94c6 100644
--- a/tests/manual/tableview/abstracttablemodel/main.qml
+++ b/tests/manual/tableview/abstracttablemodel/main.qml
@@ -68,7 +68,6 @@ Window {
model: tableModel
delegate: tableViewDelegate
- cacheBuffer: 500
columnSpacing: 1
rowSpacing: 1
}