summaryrefslogtreecommitdiffstats
path: root/basicsuite/qt5-cinematicdemo/content/SettingsView.qml
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-04-29 16:21:55 +0200
committerAndy Nichols <andy.nichols@digia.com>2014-04-29 17:42:10 +0300
commitec601d35edd2a3fcc0553db983bdd2a4f4439cdf (patch)
tree4733cf488ed39cc779159395982d7e335111751e /basicsuite/qt5-cinematicdemo/content/SettingsView.qml
parentcd70f5f95a804370e4da300c134cf615ce60fb46 (diff)
Fix qt5-cinematicdemo on Qt 5.3
onText is treated as a signal name Task-number: QTEE-500 Change-Id: I78a5c7ade640da5a7884dc6e1741c216061e3717 Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Diffstat (limited to 'basicsuite/qt5-cinematicdemo/content/SettingsView.qml')
-rw-r--r--basicsuite/qt5-cinematicdemo/content/SettingsView.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/basicsuite/qt5-cinematicdemo/content/SettingsView.qml b/basicsuite/qt5-cinematicdemo/content/SettingsView.qml
index 7944803..4499a8c 100644
--- a/basicsuite/qt5-cinematicdemo/content/SettingsView.qml
+++ b/basicsuite/qt5-cinematicdemo/content/SettingsView.qml
@@ -127,8 +127,8 @@ Item {
Switch {
text: "Do you l-o-v-e colors?"
checked: settings.showColors
- onText: "Yes"
- offText: "No!"
+ textOn: "Yes"
+ textOff: "No!"
onCheckedChanged: {
settings.showColors = checked;
}