From cdefba000d1abc7c611c7f495e7a7409710038b5 Mon Sep 17 00:00:00 2001 From: Geir Vattekar Date: Fri, 18 Feb 2011 09:32:58 +0100 Subject: Doc: Small update to QHistoryState::setDefaultState() Task-number: QTBUG-17522 --- src/corelib/statemachine/qhistorystate.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/corelib/statemachine/qhistorystate.cpp b/src/corelib/statemachine/qhistorystate.cpp index 350c1a0..7093c32 100644 --- a/src/corelib/statemachine/qhistorystate.cpp +++ b/src/corelib/statemachine/qhistorystate.cpp @@ -168,6 +168,9 @@ QAbstractState *QHistoryState::defaultState() const /*! Sets this history state's default state to be the given \a state. \a state must be a sibling of this history state. + + Note that this function does not set \a state as the initial state + of its parent. */ void QHistoryState::setDefaultState(QAbstractState *state) { -- cgit v0.12