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

When destroyed() signal is called the slot of another variable is already deleted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.0.0 RC 1, 5.0.0 RC 2
    • 4.6.3, 4.7.4, 4.8.0, 5.0.0 Beta 1
    • Core: Object Model
    • None
    • Windows 7

    Description

      If you have two variables (A and B) where and you connect B's destroyed() signal to A, it sometimes goes to A's slot and sometimes not. It depends of the class hierarchy if the slot is run. I attached an example application to reproduce the issue. In the application there is a flag that you can use to modify the hierarchy to reproduce the issue or make it to work fine.

      This bug report might be a duplicate of QTBUG-9525.

      Attachments

        Issue Links

          Activity

            People

              laknoll Lars Knoll
              qtcomsupport Qt Support
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: