~renatofilho/ubuntu-calendar-app/majster-new-event-page

« back to all changes in this revision

Viewing changes to NewEvent.qml

  • Committer: Arthur Mello
  • Date: 2016-03-17 14:49:54 UTC
  • mto: This revision was merged to the branch mainline in revision 789.
  • Revision ID: arthur.mello@canonical.com-20160317144954-uia33rvzqkdcpn82
Remove unnecessary property

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    property var endDate;
45
45
    //default reminder time = 15 min
46
46
    property int reminderValue: 900;
47
 
    //default collection = "Personal"
48
 
    property string collectionId: "qtorganizer:eds::system-calendar";
49
47
 
50
48
    property alias scrollY: flickable.contentY
51
49
    property bool isEdit: false
75
73
        root.canceled()
76
74
    }
77
75
 
78
 
    function updateEventInfo(date, allDay) {
79
 
        selectCalendar(root.collectionId);
 
76
    function updateEventInfo(date, allDay, collectionId) {
 
77
        selectCalendar(collectionId);
80
78
        updateEventDate(date, allDay)
81
79
    }
82
80