From 995d65f3f4f348757363ba2a3a3c3444aa281b4e Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 8 May 2013 16:22:39 +0200 Subject: Cleanup v8 dependencies from QQmlV8Function ... and rename it to QQmlV4Function Change-Id: Iad72347babf62691e26306877d4f229fda127eb7 Reviewed-by: Simon Hausmann --- src/quick/items/qquickdroparea.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/quick/items/qquickdroparea.cpp') diff --git a/src/quick/items/qquickdroparea.cpp b/src/quick/items/qquickdroparea.cpp index cda308e0b6..3b8f02db8c 100644 --- a/src/quick/items/qquickdroparea.cpp +++ b/src/quick/items/qquickdroparea.cpp @@ -416,11 +416,11 @@ QStringList QQuickDropEvent::keys() const If an \a action is specified it will overwrite the value of the \l action property. */ -void QQuickDropEvent::accept(QQmlV8Function *args) +void QQuickDropEvent::accept(QQmlV4Function *args) { Qt::DropAction action = event->dropAction(); - if (args->Length() >= 1) { + if (args->length() >= 1) { v8::Handle v = (*args)[0]; if (v->IsInt32()) action = Qt::DropAction(v->Int32Value()); -- cgit v1.2.3