summaryrefslogtreecommitdiffstats
path: root/src/corelib/statemachine
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@nokia.com>2011-02-18 08:32:58 (GMT)
committerGeir Vattekar <geir.vattekar@nokia.com>2011-02-18 08:32:58 (GMT)
commitcdefba000d1abc7c611c7f495e7a7409710038b5 (patch)
tree5a7bd9d05524750654ffa0fb6555d449381b1016 /src/corelib/statemachine
parentcc08d7e5d9f952fd78406c73d59752f9842c8ca6 (diff)
downloadQt-cdefba000d1abc7c611c7f495e7a7409710038b5.zip
Qt-cdefba000d1abc7c611c7f495e7a7409710038b5.tar.gz
Qt-cdefba000d1abc7c611c7f495e7a7409710038b5.tar.bz2
Doc: Small update to QHistoryState::setDefaultState()
Task-number: QTBUG-17522
Diffstat (limited to 'src/corelib/statemachine')
-rw-r--r--src/corelib/statemachine/qhistorystate.cpp3
1 files changed, 3 insertions, 0 deletions
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)
{