~yohanboniface/ubuntu-calendar-app/AgendaView

« back to all changes in this revision

Viewing changes to AgendaView.qml

  • Committer: Yohan Boniface
  • Date: 2014-05-21 09:06:12 UTC
  • Revision ID: yohanboniface@free.fr-20140521090612-aqcpywuc164dac9v
Pass model to pageStack.push()

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
                text: event.startDateTime.formatTime() + " - " + event.displayLabel
95
95
                progression: true
96
96
                onClicked: {
97
 
                    pageStack.push(Qt.resolvedUrl("EventDetails.qml"),{"event": model.event});
 
97
                    pageStack.push(Qt.resolvedUrl("EventDetails.qml"),{"event": model.event, "model": model});
98
98
                }
99
99
 
100
100
            }