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

QDomDocument how internal objects get deleted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.0.0
    • 4.8.1, 5.0.0
    • Documentation
    • None
    • If1f46757d2d1e678e4b9e939da89a497da71dccf

    Description

      The documentation is slightly wrong because QDomDocument is parent of all child elements and when parent is deleted, all its children elements are also deleted.

      Current text from the documentation:
      The internal objects in the DOM tree will get deleted once the last QDom object referencing them and the QDomDocument itself are deleted.

      Should be corrected to:
      The internal objects in the DOM tree will get deleted once the last QDom object referencing them or the QDomDocument itself are deleted.

      Attachments

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

        Activity

          People

            mitch_curtis Mitch Curtis
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes