Handle duplicate event UIDs in different calendars
author David Jarvie
()
committer David Jarvie
()
commit c55b943be61cded1cedd05e9e6b04612b2d6058c
tree 3f994bff12209660e92b3168cc0b863d809bff89
parent 818b77885418ddd9e109584a59b9369a3ceea43a
Handle duplicate event UIDs in different calendars

Event cache is now indexed by calendar ID and event UID, which should
reduce the possibility of crashes due to the wrong event being
deleted if any duplicate UIDs exist.

This should fix crashes (bugs 293193, 293290, 293360, and possibly
293346).

Backport of 036983b5f47fec7da5778f68f0fe655b82e3a634 and
f8969a48da10f0c87d4d024bc67c710bf5020638 (master)
17 files changed:
kalarm/akonadimodel.cpp
kalarm/akonadimodel.h
kalarm/alarmcalendar.cpp
kalarm/alarmcalendar.h
kalarm/dbushandler.cpp
kalarm/deferdlg.cpp
kalarm/deferdlg.h
kalarm/eventid.h [ new file with mode 0644 ]
kalarm/functions.cpp
kalarm/functions.h
kalarm/kalarmapp.cpp
kalarm/mainwindow.cpp
kalarm/messagewin.cpp
kalarm/messagewin.h
kalarm/undo.cpp
kalarm/undo.h
kalarm/wakedlg.cpp