diff options
Diffstat (limited to 'GUIModel/Header/Clock.qml')
-rw-r--r-- | GUIModel/Header/Clock.qml | 12 |
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(); + } + } + } |