diff options
author | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2016-09-14 13:06:12 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2016-09-16 08:27:11 +0000 |
commit | e6aa77bf51f9ac92a7d315eccbb8c6c012673f1c (patch) | |
tree | a664caa563d687e9a787634f85852ccd305228a9 /src/scxml/qscxmltabledata.cpp | |
parent | abd6d0c93bdbe24b78dc26212d4d586425a50706 (diff) |
Change the type of generated states to "Synthetic"
This makes it possible to distinguish between "normal" external states
and things like implicit initial states.
Change-Id: Ifdecc2a18fee72d2b52c46348bb1c9b67e245716
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/scxml/qscxmltabledata.cpp')
-rw-r--r-- | src/scxml/qscxmltabledata.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scxml/qscxmltabledata.cpp b/src/scxml/qscxmltabledata.cpp index 952bc16..0e3b58f 100644 --- a/src/scxml/qscxmltabledata.cpp +++ b/src/scxml/qscxmltabledata.cpp @@ -328,6 +328,9 @@ protected: // visitor case DocumentModel::Transition::Internal: newTransition.type = StateTable::Transition::Internal; break; + case DocumentModel::Transition::Synthetic: + newTransition.type = StateTable::Transition::Synthetic; + break; default: Q_UNREACHABLE(); } |