diff options
Diffstat (limited to 'views/calendar/qml/View.qml')
-rw-r--r-- | views/calendar/qml/View.qml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml index 8a166c47..505c6754 100644 --- a/views/calendar/qml/View.qml +++ b/views/calendar/qml/View.qml | |||
@@ -95,14 +95,17 @@ RowLayout { | |||
95 | spacing: Kube.Units.smallSpacing | 95 | spacing: Kube.Units.smallSpacing |
96 | 96 | ||
97 | Repeater { | 97 | Repeater { |
98 | model: ["calendar_1","calendar_2","calendar_3"] | 98 | model: Kube.EntityModel { |
99 | type: "calendar" | ||
100 | roles: ["name"] | ||
101 | } | ||
99 | delegate: Row { | 102 | delegate: Row { |
100 | spacing: Kube.Units.smallSpacing | 103 | spacing: Kube.Units.smallSpacing |
101 | Kube.CheckBox { | 104 | Kube.CheckBox { |
102 | opacity: 0.9 | 105 | opacity: 0.9 |
103 | } | 106 | } |
104 | Kube.Label { | 107 | Kube.Label { |
105 | text: modelData | 108 | text: model.name |
106 | color: Kube.Colors.highlightedTextColor | 109 | color: Kube.Colors.highlightedTextColor |
107 | } | 110 | } |
108 | } | 111 | } |