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

Documentation regarding chained deletion of states is missing

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 5.14.0 RC1
    • 5.7.1
    • Documentation
    • None
    • 6132b77db9d180d7a86982b0ca2eeae202a72e55 (qt/qtbase/5.15)

      It is (well?) known, that upon deletion of a parent all its children will be axed as well.

      Unknown for me was, that QStateMachine::addState will put it in the same kind of relationship, so the added QState will be deleted as well. A short word on that in the documentation would be nice.

      http://doc.qt.io/qt-5/qstatemachine.html#addState

      In contrast: removeState states explicitly that the ownership is released.

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

            kdpalara Kavindra Palaraja
            derm Michael
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes