~ubuntu-clock-dev/ubuntu-clock-app/reboot-packaging

« back to all changes in this revision

Viewing changes to app/alarm/AlarmRepeat.qml

  • Committer: Nekhelesh Ramananthan
  • Date: 2014-07-29 12:00:28 UTC
  • mto: (37.1.1 reboot)
  • mto: This revision was merged to the branch mainline in revision 37.
  • Revision ID: krnekhelesh@gmail.com-20140729120028-821ujpa5c9li7w5a
Remove hardcoded time format in the settings page and follow the user locale

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
Page {
24
24
    id: _alarmRepeatPage
25
 
    objectName: "alarmRepeatPage"
26
25
 
27
26
    visible: false
28
27
    title: i18n.tr("Repeat")
76
75
 
77
76
        Repeater {
78
77
            id: _alarmDays
79
 
            objectName: 'alarmDays'
80
78
 
81
79
            model: daysModel
82
80
 
83
81
            ListItem.Standard {
84
82
                Label {
85
83
                    id: _alarmDay
86
 
                    objectName: 'alarmDay' + index
87
84
 
88
85
                    anchors {
89
86
                        left: parent.left
96
93
                }
97
94
 
98
95
                control: Switch {
99
 
                    objectName: 'daySwitch' + index
100
96
                    checked: (alarm.daysOfWeek & flag) == flag
101
97
                    onCheckedChanged: {
102
98
                        if (checked) {