summaryrefslogtreecommitdiffstats
path: root/recipes-qt/examples/qt5nmapper/change-property-string.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/examples/qt5nmapper/change-property-string.patch')
-rw-r--r--recipes-qt/examples/qt5nmapper/change-property-string.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-qt/examples/qt5nmapper/change-property-string.patch b/recipes-qt/examples/qt5nmapper/change-property-string.patch
new file mode 100644
index 00000000..dae2fdcc
--- /dev/null
+++ b/recipes-qt/examples/qt5nmapper/change-property-string.patch
@@ -0,0 +1,26 @@
1qt5nmapper: Change property string to onTextString
2
3Upstream-Status: Pending
4
5diff --git a/content_org/Switch.qml b/content/Switch.qml
6index 08a2cba..a8b8b26 100644
7--- a/content_org/Switch.qml
8+++ b/content/Switch.qml
9@@ -5,7 +5,7 @@ Item {
10
11 property alias text: textItem.text
12 property bool checked: false
13- property string onText: "On"
14+ property string onTextString: "On"
15 property string offText: "Off"
16
17 QtObject {
18@@ -76,7 +76,7 @@ Item {
19 color: "#000000"
20 font.pixelSize: 18
21 font.bold: true
22- text: onText
23+ text: onTextString
24 }
25 Text {
26 anchors.verticalCenter: parent.verticalCenter