aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols2/qquicktumblerview_p.h
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2016-06-27 13:08:42 +0200
committerMitch Curtis <mitch.curtis@qt.io>2016-07-01 06:19:11 +0000
commit2c4b2d488291e83bf1a6aac1d59351c1a6e901a3 (patch)
tree94743b9866e7c6e0a7d20827ff104d0c979eeea2 /src/quickcontrols2/qquicktumblerview_p.h
parenta5df6b69672afd780433ee8f43d343d1e2251fd4 (diff)
Tumbler: make wrap property depend on count by default
[ChangeLog][Important Behavior Changes][Tumbler] Changed the default value of wrap to be false when count is less than visibleItemCount. Explicitly setting wrap overrides this behavior. Change-Id: I0089f517a25a606625c245df52b0db5fd859ffc0 Task-number: QTBUG-53587 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/quickcontrols2/qquicktumblerview_p.h')
-rw-r--r--src/quickcontrols2/qquicktumblerview_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quickcontrols2/qquicktumblerview_p.h b/src/quickcontrols2/qquicktumblerview_p.h
index dad913da..e82f7f56 100644
--- a/src/quickcontrols2/qquicktumblerview_p.h
+++ b/src/quickcontrols2/qquicktumblerview_p.h
@@ -87,6 +87,7 @@ protected:
void geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry) override;
void componentComplete() override;
void itemChange(ItemChange change, const ItemChangeData &data) override;
+ void updatePolish();
private:
QQuickItem *view();