aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4sequenceobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4sequenceobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4sequenceobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4sequenceobject.cpp b/src/qml/jsruntime/qv4sequenceobject.cpp
index d1f9363a7b..9b414b544d 100644
--- a/src/qml/jsruntime/qv4sequenceobject.cpp
+++ b/src/qml/jsruntime/qv4sequenceobject.cpp
@@ -535,7 +535,7 @@ SequencePrototype::SequencePrototype(InternalClass *ic)
void SequencePrototype::init()
{
defineDefaultProperty(QStringLiteral("sort"), method_sort, 1);
- defineDefaultProperty(QStringLiteral("valueOf"), method_valueOf, 0);
+ defineDefaultProperty(engine()->id_valueOf, method_valueOf, 0);
}
QV4::ReturnedValue SequencePrototype::method_sort(QV4::SimpleCallContext *ctx)