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/qquickdrag.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/quick/items/qquickdrag.cpp') diff --git a/src/quick/items/qquickdrag.cpp b/src/quick/items/qquickdrag.cpp index ccd3082fbf..14bd4b5870 100644 --- a/src/quick/items/qquickdrag.cpp +++ b/src/quick/items/qquickdrag.cpp @@ -502,7 +502,7 @@ void QQuickDragAttachedPrivate::start(Qt::DropActions supportedActions) property for the started sequence. */ -void QQuickDragAttached::start(QQmlV8Function *args) +void QQuickDragAttached::start(QQmlV4Function *args) { Q_D(QQuickDragAttached); if (d->inEvent) { @@ -516,7 +516,7 @@ void QQuickDragAttached::start(QQmlV8Function *args) d->overrideActions = false; Qt::DropActions supportedActions = d->supportedActions; // check arguments for supportedActions, maybe data? - if (args->Length() >= 1) { + if (args->length() >= 1) { v8::Handle v = (*args)[0]; if (v->IsInt32()) { supportedActions = Qt::DropActions(v->Int32Value()); -- cgit v1.2.3