aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlproperty.cpp
diff options
context:
space:
mode:
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;