aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4value.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4value.cpp')
-rw-r--r--src/qml/jsruntime/qv4value.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4value.cpp b/src/qml/jsruntime/qv4value.cpp
index 6b22967bfa..934fb2fbaa 100644
--- a/src/qml/jsruntime/qv4value.cpp
+++ b/src/qml/jsruntime/qv4value.cpp
@@ -238,7 +238,7 @@ QV4::PropertyKey Value::toPropertyKey(ExecutionEngine *e) const
Scope scope(e);
ScopedStringOrSymbol s(scope, this);
s->makeIdentifier();
- return PropertyKey::fromIdentifier(s->identifier());
+ return s->identifier();
}
Scope scope(e);
ScopedValue v(scope, RuntimeHelpers::toPrimitive(*this, STRING_HINT));
@@ -248,7 +248,7 @@ QV4::PropertyKey Value::toPropertyKey(ExecutionEngine *e) const
return PropertyKey::invalid();
ScopedStringOrSymbol s(scope, v);
s->makeIdentifier();
- return PropertyKey::fromIdentifier(s->identifier());
+ return s->identifier();
}
#endif // V4_BOOTSTRAP