diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/scxml/qscxmlevent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scxml/qscxmlevent.cpp b/src/scxml/qscxmlevent.cpp index 6da52d7..907474a 100644 --- a/src/scxml/qscxmlevent.cpp +++ b/src/scxml/qscxmlevent.cpp @@ -67,7 +67,7 @@ QScxmlEvent *QScxmlEventBuilder::buildEvent() if (contentExpr == NoEvaluator) { data = contents; } else { - data = dataModel->evaluateToString(contentExpr, &ok); + data = dataModel->evaluateToVariant(contentExpr, &ok); } if (!ok) { // expr evaluation failure results in the data property of the event being set to null. See e.g. test528. |