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

QDeclarativeItemKeyFilter can be initialized improperly

    XMLWordPrintable

Details

    • c380aeefbfa2cd1aa2d1d21f45101bfb058a40de

    Description

      QDeclarativeItemKeyFilter will be initialized properly only if the valid reference is passed into the constructor. But sometimes parent is assigned using setParent call. Try to trace the constructor call for this cases:

      >>

      Keys.onPressed: console.log(event.key) // it works!

      Keys {
      onPressed: console.log(event.key) // does nothing
      }

      >>

      Attachments

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

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            kolam Paul Kolomiets
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes