summaryrefslogtreecommitdiffstats
path: root/views/calendar/qml/WeekView.qml
diff options
context:
space:
mode:
authorMinijackson <minijackson@riseup.net>2018-04-10 16:19:58 +0200
committerMinijackson <minijackson@riseup.net>2018-04-10 16:19:58 +0200
commitb7fb9280032bde10ab942d0f2eeae50366a3dfda (patch)
tree0910d1bcabe6798e804a67accb553ef1bd3d820e /views/calendar/qml/WeekView.qml
parent004a1a2e91c72f9b1b7ca964fe20cd6a1a6e68a6 (diff)
downloadkube-b7fb9280032bde10ab942d0f2eeae50366a3dfda.tar.gz
kube-b7fb9280032bde10ab942d0f2eeae50366a3dfda.zip
Implement the EventTreeModel + move test data in that modelhelpcalendar
Diffstat (limited to 'views/calendar/qml/WeekView.qml')
-rw-r--r--views/calendar/qml/WeekView.qml12
1 files changed, 6 insertions, 6 deletions
diff --git a/views/calendar/qml/WeekView.qml b/views/calendar/qml/WeekView.qml
index 8eef3a92..877500c5 100644
--- a/views/calendar/qml/WeekView.qml
+++ b/views/calendar/qml/WeekView.qml
@@ -212,12 +212,12 @@ FocusScope {
212 right: parent.right 212 right: parent.right
213 rightMargin: Kube.Units.smallSpacing 213 rightMargin: Kube.Units.smallSpacing
214 } 214 }
215 width: Kube.Units.gridUnit * 7 - Kube.Units.smallSpacing * 2 - Kube.Units.gridUnit * model.indention 215 width: Kube.Units.gridUnit * 7 - Kube.Units.smallSpacing * 2 - Kube.Units.gridUnit * model.modelData.indention
216 height: Kube.Units.gridUnit * model.duration 216 height: Kube.Units.gridUnit * model.modelData.duration
217 y: Kube.Units.gridUnit * model.starts 217 y: Kube.Units.gridUnit * model.modelData.starts
218 x: Kube.Units.gridUnit * model.indention 218 x: Kube.Units.gridUnit * model.modelData.indention
219 219
220 color: model.color 220 color: model.modelData.color
221 border.width: 1 221 border.width: 1
222 border.color: Kube.Colors.viewBackgroundColor 222 border.color: Kube.Colors.viewBackgroundColor
223 223
@@ -226,7 +226,7 @@ FocusScope {
226 left: parent.left 226 left: parent.left
227 leftMargin: Kube.Units.smallSpacing 227 leftMargin: Kube.Units.smallSpacing
228 } 228 }
229 text: model.text 229 text: model.modelData.text
230 color: Kube.Colors.highlightedTextColor 230 color: Kube.Colors.highlightedTextColor
231 } 231 }
232 232