aboutsummaryrefslogtreecommitdiffstats
path: root/GUIModel/Header/Clock.qml
diff options
context:
space:
mode:
Diffstat (limited to 'GUIModel/Header/Clock.qml')
-rw-r--r--GUIModel/Header/Clock.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/GUIModel/Header/Clock.qml b/GUIModel/Header/Clock.qml
index 9462049..a17205b 100644
--- a/GUIModel/Header/Clock.qml
+++ b/GUIModel/Header/Clock.qml
@@ -126,4 +126,16 @@ Item{
visible: false
}
}
+
+ Timer {
+ interval: 500
+ repeat: true
+ running: true
+ onTriggered: {
+ var date = new Date;
+ timeHour = date.getHours();
+ timeMinute = date.getMinutes();
+ }
+ }
+
}