Commit 772ac972 authored by Allen Winter's avatar Allen Winter
Browse files

agenda/agenda.cpp - fix condition testing for failed deletion

now we don't see "Failed to remove" messages on
successful incidence deletions.
parent b348c030
......@@ -1991,7 +1991,7 @@ void Agenda::removeIncidence(const KCalendarCore::Incidence::Ptr &incidence)
if (incidence->instanceIdentifier() != agendaItem->incidence()->instanceIdentifier()) {
if (removeAgendaItem(agendaItem)) {
if (!removeAgendaItem(agendaItem)) {
qCWarning(CALENDARVIEW_LOG) << "Agenda::removeIncidence() Failed to remove "
<< incidence->uid();
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