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

QGraphicsScene destructor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 4.6.1
    • 4.5.0
    • Documentation
    • None
    • 9cdeb6ca14713891a14f24e97adb59b0d3b682fd

    Description

      I think there is a lack in the documentation of QGraphicsScene class.

      The documentation of the destructor doesn't say that all items added in the scene are destroyed. Also, in the addItem() function it does't say that the scene takes the ownership of the item.

      If I remember right, in some old version of Qt the scene didn't destroy the items in the destructor. I think is important remark this behaviour.

      Attachments

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

        Activity

          People

            gbk Martin Smith (Qt)
            puffosauro Fabio Dago
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes