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

QSignalTransition does not increment the receivers on QObject

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.0.0
    • 4.7.0
    • Core: State Machine
    • None

    Description

      QSignalTransition does not increment the receivers() on QObject.

      D-Bus seems to use receivers() as an optimization, so that if I do something like

      s1->addTransition(someDBusObject, SIGNAL(someSignal(), s2);

      the signal is not emmitted, because D-Bus considers nothing to be connected to it.

      I attached unit tests but didn't attempt to fix it.

      Attachments

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

        Activity

          People

            kenthans Kent Hansen (Inactive)
            steveire Stephen Kelly (Personal)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes