aboutsummaryrefslogtreecommitdiffstats
path: root/src/particles/qquickcustomaffector.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-05-03 14:14:57 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-05-03 14:40:38 +0200
commite537722604e41577dbf5625a35542a88d2576d63 (patch)
tree8dcade24c43e2e02fe5d01f3ec161621cc28fc52 /src/particles/qquickcustomaffector.cpp
parentbf51873870f94f56e8dccf25fea67b120f2db98f (diff)
Remove v8::HandleScope
This class never made sense with v4... :) Change-Id: Id597d791d1adf52cc821d6d46f57cb24d1acd343 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/particles/qquickcustomaffector.cpp')
-rw-r--r--src/particles/qquickcustomaffector.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/particles/qquickcustomaffector.cpp b/src/particles/qquickcustomaffector.cpp
index 23a1f6db50..9c46510091 100644
--- a/src/particles/qquickcustomaffector.cpp
+++ b/src/particles/qquickcustomaffector.cpp
@@ -143,7 +143,6 @@ void QQuickCustomAffector::affectSystem(qreal dt)
if (m_onceOff)
dt = 1.0;
- v8::HandleScope handle_scope;
v8::Handle<v8::Array> array = v8::Array::New(toAffect.size());
for (int i=0; i<toAffect.size(); i++)
array->Set(i, toAffect[i]->v8Value().toV8Handle());