From 23a55352eb0ada2832fcb5c461ec8f37cd6fc530 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Tue, 6 Sep 2016 11:18:25 +0200 Subject: 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 --- examples/scxml/trafficlight-qml-dynamic/trafficlight-qml-dynamic.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/scxml/trafficlight-qml-dynamic') diff --git a/examples/scxml/trafficlight-qml-dynamic/trafficlight-qml-dynamic.qml b/examples/scxml/trafficlight-qml-dynamic/trafficlight-qml-dynamic.qml index 772d2fb..c04c877 100644 --- a/examples/scxml/trafficlight-qml-dynamic/trafficlight-qml-dynamic.qml +++ b/examples/scxml/trafficlight-qml-dynamic/trafficlight-qml-dynamic.qml @@ -53,7 +53,7 @@ import QtScxml 5.7 as Scxml TrafficLight { Scxml.StateMachineLoader { id: loader - filename: "qrc:///statemachine.scxml" + source: "qrc:///statemachine.scxml" } stateMachine: loader.stateMachine -- cgit v1.2.3