diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2018-09-18 13:16:04 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2018-09-24 11:38:51 +0000 |
commit | 92b2a4f58db9d9ba2ba7428ff017521114c6371e (patch) | |
tree | 01b68bedd0c22850b184124f80f7cfc0f614e15f /src/quick/doc/src | |
parent | eaf70aee7f64a44a705f800367dce58f15632275 (diff) |
Limit the repeater model size for integer models
Otherwise you might be able to put INT_MAX in, which would cause
problems with things like memory allocations.
Task-number: QTBUG-54752
Change-Id: I758d04af65049181c0c741ff42e92a6450963201
Reviewed-by: Michael Brasser <michael.brasser@live.com>
Diffstat (limited to 'src/quick/doc/src')
-rw-r--r-- | src/quick/doc/src/concepts/modelviewsdata/modelview.qdoc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/doc/src/concepts/modelviewsdata/modelview.qdoc b/src/quick/doc/src/concepts/modelviewsdata/modelview.qdoc index 86beb38e6a..c2a0450daf 100644 --- a/src/quick/doc/src/concepts/modelviewsdata/modelview.qdoc +++ b/src/quick/doc/src/concepts/modelviewsdata/modelview.qdoc @@ -307,6 +307,7 @@ To visualize data, bind the view's \c model property to a model and the } \endqml + \note The limit on the number of items in an integer model is 100,000,000. \section2 Object Instances as Models |