aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4runtime.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <[email protected]>2014-03-31 14:37:32 +0200
committerThe Qt Project <[email protected]>2014-04-01 06:17:14 +0200
commit5915a3ec731ed61b88d869b41a4f98121e840219 (patch)
tree66bddcd6030bb11e6d891c59bf1c7c5a22fcc6c5 /src/qml/jsruntime/qv4runtime.cpp
parentbdd29d20d7d21d82170ffe2cb74412987210dd0d (diff)
Fix typo
creatScriptFunction -> createScriptFunction Change-Id: Icdb9214b1ae067fa2b8693d50cdac0be9fe6d390 Reviewed-by: Michael Brasser <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4runtime.cpp')
-rw-r--r--src/qml/jsruntime/qv4runtime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4runtime.cpp b/src/qml/jsruntime/qv4runtime.cpp
index c46f3990dc..4923c217b6 100644
--- a/src/qml/jsruntime/qv4runtime.cpp
+++ b/src/qml/jsruntime/qv4runtime.cpp
@@ -264,7 +264,7 @@ ReturnedValue Runtime::closure(ExecutionContext *ctx, int functionId)
{
QV4::Function *clos = ctx->compilationUnit->runtimeFunctions[functionId];
Q_ASSERT(clos);
- FunctionObject *f = FunctionObject::creatScriptFunction(ctx, clos);
+ FunctionObject *f = FunctionObject::createScriptFunction(ctx, clos);
return f->asReturnedValue();
}