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

list property from empty QVariant has wrong value

XMLWordPrintable

      Full project at https://invent.kde.org/nicolasfella/qmllisttest

      I have a delegate with

      required property list<string> myList 

      The relevant model returns QVariant() for this role.

      Observed: myList is a list of size 1, containing an empty string

      Expected: myList is a list of size 0

      It works as expected with Qt 6.9.2 and earlier

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

            qtqmlteam Qt Qml Team User
            nicolasfella Nicolas Fella
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change