https://bugs.kde.org/show_bug.cgi?id=466063

Carl Schwan <c...@carlschwan.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/pim/ |https://invent.kde.org/pim/
                   |kalendar/commit/c925a526ceb |kalendar/commit/a5264b1cf75
                   |89d78514ead777576987b620cc5 |2ac5cc7ec641b09b586db1d070f
                   |16                          |0b

--- Comment #16 from Carl Schwan <c...@carlschwan.eu> ---
Git commit a5264b1cf752ac5cc7ec641b09b586db1d070f0b by Carl Schwan.
Committed on 23/04/2023 at 21:10.
Pushed by carlschwan into branch 'release/23.04'.

Fix crashes in incidenceoccurrencemodel

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

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 less or more entry due to the recurrence
rules changing or in a different hash due to the start or end date
changing.


(cherry picked from commit c925a526ceb89d78514ead777576987b620cc516)

M  +5    -132  src/models/incidenceoccurrencemodel.cpp
M  +0    -6    src/models/incidenceoccurrencemodel.h

https://invent.kde.org/pim/kalendar/commit/a5264b1cf752ac5cc7ec641b09b586db1d070f0b

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to