Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-6082

ListElement should not allow child objects

    XMLWordPrintable

Details

    Description

      This works:

      ListModel { ListElement { Item { } } }
      

      It should not. Covered in tst_qmllistmodel.

      Worse, this reports no error:

      ListModel {
          Repeater {
              model: 10
              ListElement { text: "blah" + index }
          }
          ListElement { text: "That's another element" }
          Repeater {
              model: 5
              ListElement { text: "foobar" + index }
          }
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            aakenned Aaron Kennedy
            wallison Warwick Allison (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes