xref: /OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/examples/qt5nmapper/change-property-string.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1qt5nmapper:  Change property string to onTextString
2
3Upstream-Status: Pending
4Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
5
6diff --git a/content_org/Switch.qml b/content/Switch.qml
7index 08a2cba..a8b8b26 100644
8--- a/content_org/Switch.qml
9+++ b/content/Switch.qml
10@@ -5,7 +5,7 @@ Item {
11
12     property alias text: textItem.text
13     property bool checked: false
14-    property string onText: "On"
15+    property string onTextString: "On"
16     property string offText: "Off"
17
18     QtObject {
19@@ -76,7 +76,7 @@ Item {
20             color: "#000000"
21             font.pixelSize: 18
22             font.bold: true
23-            text: onText
24+            text: onTextString
25         }
26         Text {
27             anchors.verticalCenter: parent.verticalCenter
28