aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlproperty.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-04-28 05:09:39 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-04-29 13:13:05 +0200
commit1a6dd638b830a5353fb2321b74a57d380539c92d (patch)
tree9123fa75f233b10ba49fc20fac358ffea1258c13 /src/qml/qml/qqmlproperty.cpp
parentd09c05954867b57b3ae00499a1552f022d33e74c (diff)
Get rid of QV8Engine::toString()
It's easier to use toQString() on a QV4::Value Change-Id: I9bf22cb72607b32948e77c632d2f9b8fe120ea41 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlproperty.cpp')
-rw-r--r--src/qml/qml/qqmlproperty.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlproperty.cpp b/src/qml/qml/qqmlproperty.cpp
index fa728fec0d..b29861c4dc 100644
--- a/src/qml/qml/qqmlproperty.cpp
+++ b/src/qml/qml/qqmlproperty.cpp
@@ -1521,7 +1521,7 @@ bool QQmlPropertyPrivate::writeBinding(QObject *object,
break;
case QMetaType::QString:
if (result->IsString())
- QUICK_STORE(QString, v8engine->toString(result))
+ QUICK_STORE(QString, result->v4Value().toQString())
break;
default:
break;