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

QDeclarativeItemKeyFilter can be initialized improperly

XMLWordPrintable

    • c380aeefbfa2cd1aa2d1d21f45101bfb058a40de

      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
      }

      >>

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes