Fix crash due to using an attribute from a collection that went out of scope

Authored by dfaure on Mar 27 2019, 1:45 PM.

Description

Fix crash due to using an attribute from a collection that went out of scope

Summary: Probably a consequence of the const/non-const changes (detaching?)

Test Plan:
Untested, but based on a crash report by Allen, pointing to
ETMCalendar::alarms() calling BlockAlarmsAttribute::isAlarmTypeBlocked
on line 579.

Reviewers: dvratil, winterz

Reviewed By: dvratil

Subscribers: kde-pim

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D20079

Details

Committed
dfaureMar 29 2019, 11:02 AM
Reviewer
dvratil
Differential Revision
D20079: Fix crash due to using an attribute from a collection that went out of scope
Parents
R170:95b1677fd657: GIT_SILENT: Prepare 5.11.0
Branches
Unknown
Tags
Unknown