summaryrefslogtreecommitdiffstats
path: root/views/calendar/qml/View.qml
diff options
context:
space:
mode:
Diffstat (limited to 'views/calendar/qml/View.qml')
-rw-r--r--views/calendar/qml/View.qml8
1 files changed, 6 insertions, 2 deletions
diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml
index 434c92d1..f870a850 100644
--- a/views/calendar/qml/View.qml
+++ b/views/calendar/qml/View.qml
@@ -26,6 +26,9 @@ 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()
31
29 anchors.fill: parent 32 anchors.fill: parent
30 33
31 Rectangle { 34 Rectangle {
@@ -100,7 +103,8 @@ RowLayout {
100 } 103 }
101 104
102 WeekView { 105 WeekView {
103 Layout.fillHeight: parent.height 106 Layout.fillHeight: true
104 Layout.fillWidth: parent.height 107 Layout.fillWidth: true
108 currentDate: root.currentDate
105 } 109 }
106} 110}