CalendarBase::item don't crash in non-debug builds
ClosedPublic

Authored by winterz on Feb 21 2020, 3:47 PM.

Details

Summary

avoid a crash if building in non-debug mode.

user will see the critical message but shouldn't get a crash.

might help out on bugs like this https://bugs.kde.org/show_bug.cgi?id=417794

Diff Detail

Repository
R170 Akonadi Calendar
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
winterz created this revision.Feb 21 2020, 3:47 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptFeb 21 2020, 3:47 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
winterz requested review of this revision.Feb 21 2020, 3:47 PM
winterz edited the summary of this revision. (Show Details)Feb 21 2020, 3:49 PM
mlaurent accepted this revision.Feb 21 2020, 4:06 PM
This revision is now accepted and ready to land.Feb 21 2020, 4:06 PM
This revision was automatically updated to reflect the committed changes.