aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlvaluetypewrapper.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-05-30 22:09:46 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-05-31 07:05:33 +0200
commitc9e178e4f202ff4d32248682ed5e2cf5de75d0f8 (patch)
tree1bbb46a8a9b8b7aa48d2d81564a6e5c93ee952d0 /src/qml/qml/qqmlvaluetypewrapper.cpp
parent80ec004e7c6411997e2476a2f2c9c9f4fb41217a (diff)
Port the list wrapper over to v4
Also fix two places where we did a wrong type check. Change-Id: Ibc988b1b38803ca6acf6914487415026910f744e Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlvaluetypewrapper.cpp')
-rw-r--r--src/qml/qml/qqmlvaluetypewrapper.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlvaluetypewrapper.cpp b/src/qml/qml/qqmlvaluetypewrapper.cpp
index b6535ae61b..2db3a2f865 100644
--- a/src/qml/qml/qqmlvaluetypewrapper.cpp
+++ b/src/qml/qml/qqmlvaluetypewrapper.cpp
@@ -236,7 +236,6 @@ Value QmlValueTypeWrapper::method_toString(SimpleCallContext *ctx)
Value QmlValueTypeWrapper::get(Managed *m, ExecutionContext *ctx, String *name, bool *hasProperty)
{
QmlValueTypeWrapper *r = m->asQmlValueTypeWrapper();
-
if (!r)
ctx->throwTypeError();