summaryrefslogtreecommitdiffstats
path: root/src/scxml/qscxmltabledata.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@theqtcompany.com>2016-09-14 13:06:12 +0200
committerErik Verbruggen <erik.verbruggen@qt.io>2016-09-16 08:27:11 +0000
commite6aa77bf51f9ac92a7d315eccbb8c6c012673f1c (patch)
treea664caa563d687e9a787634f85852ccd305228a9 /src/scxml/qscxmltabledata.cpp
parentabd6d0c93bdbe24b78dc26212d4d586425a50706 (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.cpp3
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();
}