aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquicktableview_p_p.h
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2019-03-27 13:23:31 +0100
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2019-04-26 18:02:35 +0000
commit0bcaed279fc303ffd0fd6e77b0ebc83a4519ac74 (patch)
tree8f8ece532b71259bb0ed14fe286a455415ae2c2b /src/quick/items/qquicktableview_p_p.h
parent0bb72db9aa381cb53e419cda9d51cd3fc6f0cb5f (diff)
QQuickTableView: update calculateTopLeft() to take syncView into account
calculateTopLeft() takes care of finding which cell should be the 'corner stone' that needs to be loaded first when doing a rebuild. When we have a syncView, the top left cell should match the top left cell of the syncView, so the logic needs to change quite a bit to take this into account. Change-Id: Ia0b621a3155bbd113fa37c2ed585f16627d46443 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quick/items/qquicktableview_p_p.h')
-rw-r--r--src/quick/items/qquicktableview_p_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/quick/items/qquicktableview_p_p.h b/src/quick/items/qquicktableview_p_p.h
index 0b15e63342..ab7c0c3275 100644
--- a/src/quick/items/qquicktableview_p_p.h
+++ b/src/quick/items/qquicktableview_p_p.h
@@ -362,7 +362,6 @@ public:
void processRebuildTable();
bool moveToNextRebuildState();
- QPoint calculateNewTopLeft();
void calculateTopLeft(QPoint &topLeft, QPointF &topLeftPos);
void beginRebuildTable();
void layoutAfterLoadingInitialTable();