collectioncalendar.cpp - logic improvements in updateItem()

In CollectionCalendarPrivate::updateItem() follow along mostly with the same logic as in ETMCalendarPrivate::updateItem().

Primarily, this change prevents a crash in handleUidChange by returning if the oldItem is not found in m_itemById.

Also, add similar comments as seen in the ETMCalendarPrivate version.

Merge request reports

Loading