aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlboundsignal.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-05-07 09:56:09 +0200
committerLars Knoll <lars.knoll@digia.com>2013-05-07 12:25:49 +0200
commite021ff7ba2b6f017805b8c838b95269ec695def5 (patch)
tree4ba5fcb19111f875add6bbe6a2f91a04548ba32f /src/qml/qml/qqmlboundsignal.cpp
parent1abed74e211585ef9d8aab46ab924a212860c5fe (diff)
Replace v8::Null() with QV4::Value::nullValue()
Change-Id: I7901d5282afd71c1fd66bab223b2811f0d14b5f1 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlboundsignal.cpp')
-rw-r--r--src/qml/qml/qqmlboundsignal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlboundsignal.cpp b/src/qml/qml/qqmlboundsignal.cpp
index 3e952c6458..683f5280d0 100644
--- a/src/qml/qml/qqmlboundsignal.cpp
+++ b/src/qml/qml/qqmlboundsignal.cpp
@@ -243,7 +243,7 @@ void QQmlBoundSignalExpression::evaluate(void **a)
args[ii] = reinterpret_cast<QQmlV4Handle *>(a[ii + 1])->toV8Handle();
} else if (ep->isQObject(type)) {
if (!*reinterpret_cast<void* const *>(a[ii + 1]))
- args[ii] = v8::Null();
+ args[ii] = QV4::Value::nullValue();
else
args[ii] = engine->newQObject(*reinterpret_cast<QObject* const *>(a[ii + 1]));
} else {