Update the Search dialog when items in the calendar change
- Switch KOrganizer to the Event List view.
- Select a date range that contains an event.
- Use the Search dialog to search in that date range, with search string "*".
- Use the pop-up menu in the Search dialog's result list to edit the event.
- Change the event's summary and save it.
The event's summary changes in the Event List, but not in the Search dialog.
When CalendarView::slotModifyFinished
fires, the calendar has not been
updated, so the calendar()->events
call in SearchDialog::updateView
returns stale events. This patch connects SearchDialog::updateView
to
the calendarChanged
signal, which is what is done for the Event List.