Commit cad5fcd9 authored by David Jarvie's avatar David Jarvie

Fix KResources build

parent 1c1f013a
......@@ -1649,10 +1649,10 @@ KAlarm::CalEvent::Type AlarmCalendar::deleteEventInternal(const QString& eventID
{
// Make a copy of the KAEvent and the ID QString, since the supplied
// references might be destructed when the event is deleted below.
const KAEvent paramEvent = event;
const QString id = eventID;
#ifdef USE_AKONADI
const KAEvent paramEvent = event;
Event::Ptr kcalEvent;
if (mCalendarStorage)
kcalEvent = mCalendarStorage->calendar()->event(id);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment