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

object.disconnect does not work

    XMLWordPrintable

Details

    • b4b0bdda668e9845623995c788d88a774dd52d98

    Description

      When attempting to connect a signal of child objects to a slot in the parent in a loop, the disconnect call apparently does not work.

      In the test case, when the red rectangle is clicked, the slot in the blue rectangle is invoked twice, although one connection should be disconnected.

      Apart from making this work, please make it possible to make unique connections if that is not already possible.

      Attachments

        1. SomeComponent.qml
          0.4 kB
        2. disconnect.qml
          0.4 kB
        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)
            steveire Stephen Kelly (Personal)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes