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

MouseRegion's id shadows 'mouse' parameter

XMLWordPrintable

    • 83cbbd6c4c9ff2f00651c31af0d52845b2e98390

      The following code should work even if the name of the MouseRegion is 'mouse':

      MouseRegion {
          id: mouse
          onClicked: print(mouse.button)
      }
      

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

            aakenned Aaron Kennedy
            bodson Yann Bodson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes