summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--views/calendar/qml/View.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml
index 5efda663..8a166c47 100644
--- a/views/calendar/qml/View.qml
+++ b/views/calendar/qml/View.qml
@@ -26,9 +26,13 @@ import org.kube.framework 1.0 as Kube
26RowLayout { 26RowLayout {
27 id: root 27 id: root
28 28
29 //TODO update every second
30 property date currentDate: new Date() 29 property date currentDate: new Date()
31 30
31 Timer {
32 interval: 2000; running: true; repeat: true
33 onTriggered: root.currentDate = new Date()
34 }
35
32 anchors.fill: parent 36 anchors.fill: parent
33 37
34 StackView.onActivated: { 38 StackView.onActivated: {