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

Changing Attractor system to null make app crashes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.2.1
    • Fix Version/s: 6.0.0
    • Component/s: Quick: Particles
    • Labels:
      None
    • Commits:
      9d19841b053d16157858cf1c48a0143933af2626

      Description

      If attractor system is set to null programmatically the app crash.

      
      ParticleSytem {
              id: particleSystem
      }
      
      Attractor {
              id: attractor
              system: particleSystem
              anchors.fill: parent
              strength: 2
      
              MouseArea {
                  anchors.fill: parent
      
                  onPressed: {
                       //app crash here
                       attractor.system = null
                  }
              }
          }
      

        Attachments

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

          Activity

            People

            Assignee:
            kagro Kaj Grönholm
            Reporter:
            x-krys Christopher Courtois
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes