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

QState example bug

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.8.0
    • Documentation
    • None
    • Change-Id: Ia0c802f275eaf009e42ffef4cc538f3b3d7561d0

      In documentation article "The State Machine Framework" part "Sharing Transitions By Grouping States" you forgot one line in example which makes it does not work. After line: machine.addState(s2); should be: machine.setInitialState(s1); because s1->setInitialState(s11); is not enought for QStateMachine.

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

            dm Geir Vattekar
            szyk Szyk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes