diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2019-04-02 09:14:17 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2019-05-02 13:30:07 +0000 |
commit | 55c497ecf47894c602c1b4a08099ac63546b9260 (patch) | |
tree | 10382a8370d024e178edeb4fe0e4f34961ea6fa8 /src/quick/items/qquicktableview_p_p.h | |
parent | 1db6782d6081fa54e7c951c21ac7c8953d2c9bfb (diff) |
QQuickTableView: protect fixup() from being called while resizing the content view
Calling the base class implementation of fixup might move the content
view and start animations etc, which will cause glitches. So ensure
we don't do this when we adjust the content size internally.
Change-Id: I214a6ae2da0c21fd733ea884bccb5e77fc554615
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/items/qquicktableview_p_p.h b/src/quick/items/qquicktableview_p_p.h index 7f2aee9105..e2a413db2c 100644 --- a/src/quick/items/qquicktableview_p_p.h +++ b/src/quick/items/qquicktableview_p_p.h @@ -272,6 +272,7 @@ public: bool syncHorizontally = false; bool inSetLocalViewportPos = false; bool inSyncViewportPosRecursive = false; + bool inUpdateContentSize = false; QJSValue rowHeightProvider; QJSValue columnWidthProvider; |