aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();