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

QState example bug

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes