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

list<QtObject> appends new elements when redefined in component instances

    XMLWordPrintable

Details

    • f2a15482ddd289a36b04316a2b6ebed83eb017c5 (qt/qtdeclarative/dev)

    Description

      When defining a list in a component definition then creating an instance of that component and redefining the list, instead of redefining and overwriting the list, elements end up appended to the list.

      If a new list is created and assigned to the list variable it works as intended.

      See attached file for reproducing the error.

      Attachments

        For Gerrit Dashboard: QTBUG-93642
        # Subject Branch Project Status CR V

        Activity

          People

            ulherman Ulf Hermann
            kevin.zhang Kevin Zhang
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes