aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2012-01-27 15:41:50 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-01 05:18:35 +0100
commitf0850e45b764f97a814f3295297206ae3e0c11b0 (patch)
tree8d9015d0027f40262d27b6dda1f56f67e694c7af /examples
parent8e0c5b59f57b51a0dc80d3d8274202776c6e03df (diff)
Fix Minehunt demo
This masks the real issue in QTBUG-23362, but gets the demo running again. This is also a more correct way of expressing the URL. Task-number: QTBUG-23362 Change-Id: I5569b8f0047b03db041f05740cfed52bdef465b9 Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/declarative/minehunt/MinehuntCore/Explosion.qml4
-rw-r--r--examples/declarative/minehunt/main.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/minehunt/MinehuntCore/Explosion.qml b/examples/declarative/minehunt/MinehuntCore/Explosion.qml
index 5413652f13..0983b68db4 100644
--- a/examples/declarative/minehunt/MinehuntCore/Explosion.qml
+++ b/examples/declarative/minehunt/MinehuntCore/Explosion.qml
@@ -53,10 +53,10 @@ Item {
}
Emitter {
id: particles
- emitting: false
+ enabled: false
anchors.centerIn: parent
group: "star"
- speed: AngledDirection { angleVariation: 360; magnitude: 150; magnitudeVariation: 50 }
+ speed: AngleDirection { angleVariation: 360; magnitude: 150; magnitudeVariation: 50 }
emitRate: 200
z: 100
lifeSpan: 1000
diff --git a/examples/declarative/minehunt/main.cpp b/examples/declarative/minehunt/main.cpp
index 197b138787..47c0436969 100644
--- a/examples/declarative/minehunt/main.cpp
+++ b/examples/declarative/minehunt/main.cpp
@@ -56,7 +56,7 @@ int main(int argc, char *argv[])
canvas.setResizeMode(QQuickView::SizeRootObjectToView);
canvas.engine()->rootContext()->setContextObject(game);
- canvas.setSource(QString("qrc:minehunt.qml"));
+ canvas.setSource(QString("qrc:///minehunt.qml"));
QObject::connect(canvas.engine(), SIGNAL(quit()), &app, SLOT(quit()));
canvas.show();