summaryrefslogtreecommitdiffstats
path: root/external/meta-qt5/recipes-qt/examples/qt5nmapper/change-property-string.patch
diff options
context:
space:
mode:
authorToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
committerToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
commit5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch)
treeb4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /external/meta-qt5/recipes-qt/examples/qt5nmapper/change-property-string.patch
parent706ad73eb02caf8532deaf5d38995bd258725cb8 (diff)
agl-basesystem
Diffstat (limited to 'external/meta-qt5/recipes-qt/examples/qt5nmapper/change-property-string.patch')
-rw-r--r--external/meta-qt5/recipes-qt/examples/qt5nmapper/change-property-string.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/external/meta-qt5/recipes-qt/examples/qt5nmapper/change-property-string.patch b/external/meta-qt5/recipes-qt/examples/qt5nmapper/change-property-string.patch
new file mode 100644
index 00000000..dae2fdcc
--- /dev/null
+++ b/external/meta-qt5/recipes-qt/examples/qt5nmapper/change-property-string.patch
@@ -0,0 +1,26 @@
+qt5nmapper: Change property string to onTextString
+
+Upstream-Status: Pending
+
+diff --git a/content_org/Switch.qml b/content/Switch.qml
+index 08a2cba..a8b8b26 100644
+--- a/content_org/Switch.qml
++++ b/content/Switch.qml
+@@ -5,7 +5,7 @@ Item {
+
+ property alias text: textItem.text
+ property bool checked: false
+- property string onText: "On"
++ property string onTextString: "On"
+ property string offText: "Off"
+
+ QtObject {
+@@ -76,7 +76,7 @@ Item {
+ color: "#000000"
+ font.pixelSize: 18
+ font.bold: true
+- text: onText
++ text: onTextString
+ }
+ Text {
+ anchors.verticalCenter: parent.verticalCenter