diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2018-08-22 10:56:45 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2018-08-24 17:40:35 +0000 |
commit | dd9a6999b674a9197eabbea96b1e5a34c22a8aab (patch) | |
tree | 73cb089700752634b860e1f2bb599596daa2a1ac /src/quick/items/qquicktableview_p_p.h | |
parent | 732c25029ec95feb27a607ef19bb3b7423a955a1 (diff) |
QQuickTableView: decide whether to reuse items from calling location
This patch opens up the possibility to specify the reuse flag
from the calling location. It doesn't change the current logic, it's
just a preparation to simplify subsequent patches
Change-Id: Id00dc8a354140b0e511564c40066d3a97a773c5c
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/items/qquicktableview_p_p.h')
-rw-r--r-- | src/quick/items/qquicktableview_p_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquicktableview_p_p.h b/src/quick/items/qquicktableview_p_p.h index 1ba18480ba..7241fac7d3 100644 --- a/src/quick/items/qquicktableview_p_p.h +++ b/src/quick/items/qquicktableview_p_p.h @@ -289,7 +289,7 @@ public: FxTableItem *loadFxTableItem(const QPoint &cell, QQmlIncubator::IncubationMode incubationMode); void releaseItem(FxTableItem *fxTableItem, QQmlTableInstanceModel::ReusableFlag reusableFlag); - void releaseLoadedItems(); + void releaseLoadedItems(QQmlTableInstanceModel::ReusableFlag reusableFlag); void unloadItem(const QPoint &cell); void unloadItems(const QLine &items); |