@@ -34,6 +34,16 @@ Item {
41+ timeLabel.text = Qt.formatTime(clock.currentDate); // kicks time
42+ clock.currentDate = new Date(); // kicks date
37 Indicators.SharedUnityMenuModel {
47 Indicators.SharedUnityMenuModel {
38 id: timeModel
48 id: timeModel
39 objectName: "timeModel"
49 objectName: "timeModel"
@@ -66,11 +76,6 @@ Item {
66 opacity: 0.5
76 opacity: 0.5
67 text: Qt.formatTime(clock.currentDate)
77 text: Qt.formatTime(clock.currentDate)
68 font.weight: Font.Light
78 font.weight: Font.Light
72− onLanguageChanged: timeLabel.text = Qt.formatTime(clock.currentDate)
@@ -83,11 +88,6 @@ Item {
83 opacity: 0.5
88 opacity: 0.5
84 text: Qt.formatDate(clock.currentDate, Qt.DefaultLocaleLongDate)
89 text: Qt.formatDate(clock.currentDate, Qt.DefaultLocaleLongDate)
85 font.weight: Font.Light
90 font.weight: Font.Light
89− onLanguageChanged: dateLabel.text = Qt.formatDate(clock.currentDate, Qt.DefaultLocaleLongDate)