[Merge] lp:~gary-wzl77/qtorganizer5-eds/null_id_occurrenceitem into lp:qtorganizer5-eds
Gary.Wang
Gary.Wang at canonical.com
Tue Jan 5 01:34:28 UTC 2016
With this MR, Recurrence items will be null OrganizerItemId and it's parent keeps the same id(edsId).
This MR is to trigger modelChanged() when adding a recurrence items. Currently in ubuntu calendar apps, Creating a monthly/weekly/yearly events doesn't take effect(In face, recurrence items are saved in calendar.ics, after relaunching the app, we can see these new added items). The reason for this issue is we're not able to receive modelChanged signal from qdeclarativeorganizermodel.
qdeclarativeorganizermodel will check if the id for new recurrence items is null.
Currently since we set edsId for recurrence items, which fail to call emit modelChanged when adding new a recurrence event.
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/wily/qtpim-opensource-src/wily-proposed/view/head:/src/imports/organizer/qdeclarativeorganizermodel.cpp#L1523
--
https://code.launchpad.net/~gary-wzl77/qtorganizer5-eds/null_id_occurrenceitem/+merge/278777
Your team Ubuntu Phablet Team is subscribed to branch lp:qtorganizer5-eds.
More information about the Ubuntu-reviews
mailing list