aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4booleanobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4booleanobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4booleanobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4booleanobject.cpp b/src/qml/jsruntime/qv4booleanobject.cpp
index 44188e535c..be801a67c2 100644
--- a/src/qml/jsruntime/qv4booleanobject.cpp
+++ b/src/qml/jsruntime/qv4booleanobject.cpp
@@ -46,7 +46,7 @@ using namespace QV4;
DEFINE_MANAGED_VTABLE(BooleanCtor);
BooleanCtor::BooleanCtor(ExecutionContext *scope)
- : FunctionObject(scope, scope->engine->newIdentifier("Boolean"))
+ : FunctionObject(scope, QStringLiteral("Boolean"))
{
vtbl = &static_vtbl;
}