From 73c59c637fec1ef8de56311b420d1ff7f87da3c3 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Mon, 22 May 2017 10:17:45 +0200 Subject: Fix usage of old (internal) API Task-number: QTBUG-60938 Change-Id: I1bb77280bd4890cd5d7c5a96115d4b83973f5445 Reviewed-by: Simon Hausmann --- src/scxml/qscxmlecmascriptdatamodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3