summaryrefslogtreecommitdiffstats
path: root/examples/scxml/mediaplayer-qml-dynamic/mediaplayer-qml-dynamic.qml
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-09-06 11:18:25 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-09-06 13:15:02 +0000
commit23a55352eb0ada2832fcb5c461ec8f37cd6fc530 (patch)
treeaeed949ad96f5d3929b5564614162bdb86f7c214 /examples/scxml/mediaplayer-qml-dynamic/mediaplayer-qml-dynamic.qml
parentf0e0ed3fc3231dcc8dd2cc19034003d4c068c7eb (diff)
Rename StateMachineLoader.filename to "source"
It's a URL, so it shouldn't be called filename. Otherwise people will try to use it with plain filenames, omitting the qrc:// or file:// prefix. Change-Id: I01be8515ba03c58c0dd1fce6b0e1e5fa413b9839 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'examples/scxml/mediaplayer-qml-dynamic/mediaplayer-qml-dynamic.qml')
-rw-r--r--examples/scxml/mediaplayer-qml-dynamic/mediaplayer-qml-dynamic.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scxml/mediaplayer-qml-dynamic/mediaplayer-qml-dynamic.qml b/examples/scxml/mediaplayer-qml-dynamic/mediaplayer-qml-dynamic.qml
index 3e936c3..864a76f 100644
--- a/examples/scxml/mediaplayer-qml-dynamic/mediaplayer-qml-dynamic.qml
+++ b/examples/scxml/mediaplayer-qml-dynamic/mediaplayer-qml-dynamic.qml
@@ -49,5 +49,5 @@
****************************************************************************/
Mediaplayer {
- filename: "qrc:///mediaplayer.scxml"
+ source: "qrc:///mediaplayer.scxml"
}