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

qmllint: unqualified access for modelData and index in a delegate

    XMLWordPrintable

    Details

      Description

      qmllint gives "unqualified access" warnings for this:

      import QtQuick 2.15
      ListView {
          model: 10
          delegate: Text {
              text: modelData
              font.pointSize: index + 8
          }
      }
      

        Attachments

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

          Activity

            People

            Assignee:
            ulherman Ulf Hermann
            Reporter:
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes