summaryrefslogtreecommitdiff
path: root/metawatch/qml/metawatch-digital-config.qml
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-10 00:55:40 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-10 00:55:40 +0200
commit3ca0764c683f8c6498b80f8d8410eca96cc9a793 (patch)
tree9336980362cf380181c1ac7eeb5ceda61515f825 /metawatch/qml/metawatch-digital-config.qml
parentd194a6112299cfe045c34e5cdb6adbbb81418d09 (diff)
downloadsowatch-3ca0764c683f8c6498b80f8d8410eca96cc9a793.tar.gz
sowatch-3ca0764c683f8c6498b80f8d8410eca96cc9a793.zip
fix UI issue
Diffstat (limited to 'metawatch/qml/metawatch-digital-config.qml')
-rw-r--r--metawatch/qml/metawatch-digital-config.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/metawatch/qml/metawatch-digital-config.qml b/metawatch/qml/metawatch-digital-config.qml
index f0f2e91..af1ef9b 100644
--- a/metawatch/qml/metawatch-digital-config.qml
+++ b/metawatch/qml/metawatch-digital-config.qml
@@ -13,7 +13,6 @@ Column {
GConfKey {
id: hourModeKey
key: configKey + "/24h-mode"
- value: hourModeSwitch.checked
}
Label {
text: qsTr("24-hour clock mode")
@@ -26,6 +25,7 @@ Column {
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
checked: hourModeKey.value
+ onCheckedChanged: hourModeKey.value = checked
}
}
@@ -37,7 +37,6 @@ Column {
GConfKey {
id: dayMonthOrderKey
key: configKey + "/day-month-order"
- value: dayMonthOrderSwitch.checked
}
Label {
text: qsTr("Use DD/MM instead of MM/DD")
@@ -50,6 +49,7 @@ Column {
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
checked: dayMonthOrderKey.value
+ onCheckedChanged: dayMonthOrderKey.value = checked
}
}
}