summaryrefslogtreecommitdiffstats
path: root/examples/demos/maroon/content/SoundEffect.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/demos/maroon/content/SoundEffect.qml')
-rw-r--r--examples/demos/maroon/content/SoundEffect.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/demos/maroon/content/SoundEffect.qml b/examples/demos/maroon/content/SoundEffect.qml
index 35a68eb5e..1f742d7af 100644
--- a/examples/demos/maroon/content/SoundEffect.qml
+++ b/examples/demos/maroon/content/SoundEffect.qml
@@ -48,11 +48,11 @@
**
****************************************************************************/
-import QtQuick 2.0
+import QtQuick
//Proxies a SoundEffect if QtMultimedia is installed
Item {
id: container
- property QtObject effect: Qt.createQmlObject("import QtMultimedia 5.0; SoundEffect{ source: '" + container.source + "'; muted: Qt.application.state != Qt.ApplicationActive }", container);
+ property QtObject effect: Qt.createQmlObject("import QtMultimedia; SoundEffect{ source: '" + container.source + "'; muted: Qt.application.state != Qt.ApplicationActive }",container);
property url source: ""
onSourceChanged: if (effect != null) effect.source = source;
function play() {