summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNo'am Rosenthal <noam.rosenthal@nokia.com>2009-10-03 11:43:10 -0700
committerNo'am Rosenthal <noam.rosenthal@nokia.com>2009-10-03 11:43:10 -0700
commit9566cee0046b08191e7b15065e7bcd89d077fffd (patch)
treebf1e9e0131cb33a91ca9eaf04bfb0f8e11b6a390
parentcbc30076b037cafb872310577f83609cc3f88bb0 (diff)
adjusted for postInternalEvent API change
-rw-r--r--src/qscxml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qscxml.cpp b/src/qscxml.cpp
index daa1ec6..fd524ee 100644
--- a/src/qscxml.cpp
+++ b/src/qscxml.cpp
@@ -341,7 +341,7 @@ static QScriptValue postEvent(QScriptContext *context, QScriptEngine *)
bool ok = true;
if (target == "_internal") {
ev->metaData.kind = QScxmlEvent::MetaData::Internal;
- scxml->postInternalEvent(ev);
+ scxml->postEvent(ev,QStateMachine::HighPriority);
} else if (target == "scxml" || target == "") {
ev->metaData.kind = QScxmlEvent::MetaData::External;
scxml->postEvent(ev);