aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/context2d/qsgcontext2d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/items/context2d/qsgcontext2d.cpp')
-rw-r--r--src/declarative/items/context2d/qsgcontext2d.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/items/context2d/qsgcontext2d.cpp b/src/declarative/items/context2d/qsgcontext2d.cpp
index 97234a6315..4cfe1ba012 100644
--- a/src/declarative/items/context2d/qsgcontext2d.cpp
+++ b/src/declarative/items/context2d/qsgcontext2d.cpp
@@ -3361,7 +3361,7 @@ void QSGContext2D::release()
}
}
-void QSGContext2D::processCommands(const QScriptValue& commands)
+void QSGContext2D::processCommands(const QJSValue& commands)
{
#ifdef QSGCANVASITEM_DEBUG
QElapsedTimer t;
@@ -3369,7 +3369,7 @@ void QSGContext2D::processCommands(const QScriptValue& commands)
#endif
int ii = 0;
if (commands.isArray()) {
- QScriptValue cmd = commands.property(ii);
+ QJSValue cmd = commands.property(ii);
while(cmd.isValid()) {
processCommand(cmd);
ii++;
@@ -3460,7 +3460,7 @@ bool QSGContext2D::event(QEvent *e)
return QObject::event(e);
}
-void QSGContext2D::processCommand(const QScriptValue& cmd)
+void QSGContext2D::processCommand(const QJSValue& cmd)
{
int action = cmd.property(0).toInt32();
switch (action) {