Skip to content

Fix crashes in incidenceoccurrencemodel

Carl Schwan requested to merge work/carl/fix-drag-and-drop into master

The cause for these crashes is that the QPersistentModelIndex invalided at some point and then the row is -1 which is This is probably caused by bugs somewhere in

The previous code, which tried to only update part of the model, which in theory should be faster, was wrong since a dataChanged on the source model could result in fewer or more entries due to the recurrence rules changing or in a different hash due to the start or end date changing.

BUG: 466063

Edited by Carl Schwan

Merge request reports