summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2017-05-22 10:17:45 +0200
committerLiang Qi <liang.qi@qt.io>2017-05-23 15:08:43 +0000
commit73c59c637fec1ef8de56311b420d1ff7f87da3c3 (patch)
treec53e98be83ea4894b6cf825858c359bff2e73277
parentc2d154b99a1b7785d6c9e9f80cae8f179ca95d01 (diff)
Fix usage of old (internal) API
Task-number: QTBUG-60938 Change-Id: I1bb77280bd4890cd5d7c5a96115d4b83973f5445 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r--src/scxml/qscxmlecmascriptdatamodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scxml/qscxmlecmascriptdatamodel.cpp b/src/scxml/qscxmlecmascriptdatamodel.cpp
index a12bb30..2bbf134 100644
--- a/src/scxml/qscxmlecmascriptdatamodel.cpp
+++ b/src/scxml/qscxmlecmascriptdatamodel.cpp
@@ -289,7 +289,7 @@ private: // Uses private API
return;
}
- s->makeIdentifier(scope.engine);
+ s->makeIdentifier();
QV4::ScopedValue v(scope, QJSValuePrivate::convertedToValue(engine, value));
o->defineReadonlyProperty(s, v);
if (engine->hasException)