Details
-
Suggestion
-
Resolution: Done
-
P4: Low
-
4.7.4, 5.0.0
-
None
-
895ec534acb63eacd625e2f320cb266dbff3fdb3
Description
Doing something like
ListElement { }
is, in the implementation of QtQuick, conceptually invalid - preventing any items being added to a model.
There should be a warning when this is done, preventing some confusion for users if they do attempt this.
Attachments
For Gerrit Dashboard: QTBUG-21438 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
29370,1 | Add warning if defining a ListModel with no roles. | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |