aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/particles/plasmapatrol/content
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-09-29 07:17:32 +0200
committerQt by Nokia <qt-info@nokia.com>2011-09-29 07:25:20 +0200
commitc06f94728ba826531210926c972796d119422dad (patch)
treec4991d5c7a4b24538e69caf8f90753b1780aadc8 /examples/declarative/particles/plasmapatrol/content
parent703c808a5649169dd6b9605af273374cd62951d1 (diff)
pulse calls should use ms instead of s
This updates the examples to reflect the API change that was done in commit f0dc82305eb9c9297d73cba67634e9e4bc4f3b84 Change-Id: Id08896cbe3a47adc0b02797faddf50281a24c625 Reviewed-on: http://codereview.qt-project.org/5702 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'examples/declarative/particles/plasmapatrol/content')
-rw-r--r--examples/declarative/particles/plasmapatrol/content/LaserHardpoint.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/particles/plasmapatrol/content/LaserHardpoint.qml b/examples/declarative/particles/plasmapatrol/content/LaserHardpoint.qml
index 007d533b56..4c2254d570 100644
--- a/examples/declarative/particles/plasmapatrol/content/LaserHardpoint.qml
+++ b/examples/declarative/particles/plasmapatrol/content/LaserHardpoint.qml
@@ -81,7 +81,7 @@ Item {
offset = Math.random() * 100;
}
target = container.mapFromItem(targetArg, offset + targetArg.width/2, offset + targetArg.height/2);
- emitter.pulse(0.10);
+ emitter.pulse(100);
// console.log("Fire box: " + Math.min(container.width/2, target.x) + "," + Math.min(container.height/2, target.y) + " " + (Math.max(container.width/2, target.x) - Math.min(container.width/2, target.x)) + "," + (Math.max(container.height/2, target.y) - Math.min(container.height/2, target.y)));
}
Emitter {