Commit 4d0933cc authored by Laurent Montel's avatar Laurent Montel 😁

Minor

parent 3ca3df85
...@@ -474,10 +474,8 @@ void Scheduler::acceptReply(const IncidenceBase::Ptr &incidenceBase, ...@@ -474,10 +474,8 @@ void Scheduler::acceptReply(const IncidenceBase::Ptr &incidenceBase,
//get matching attendee in calendar //get matching attendee in calendar
qCDebug(AKONADICALENDAR_LOG) << "match found!"; qCDebug(AKONADICALENDAR_LOG) << "match found!";
Attendee::List attendeesIn = incidenceBase->attendees(); Attendee::List attendeesIn = incidenceBase->attendees();
Attendee::List attendeesEv;
Attendee::List attendeesNew; Attendee::List attendeesNew;
Attendee::List attendeesEv = incidence->attendees();
attendeesEv = incidence->attendees();
Attendee::List::ConstIterator inIt; Attendee::List::ConstIterator inIt;
Attendee::List::ConstIterator evIt; Attendee::List::ConstIterator evIt;
for (inIt = attendeesIn.constBegin(); inIt != attendeesIn.constEnd(); ++inIt) { for (inIt = attendeesIn.constBegin(); inIt != attendeesIn.constEnd(); ++inIt) {
...@@ -502,8 +500,8 @@ void Scheduler::acceptReply(const IncidenceBase::Ptr &incidenceBase, ...@@ -502,8 +500,8 @@ void Scheduler::acceptReply(const IncidenceBase::Ptr &incidenceBase,
} }
bool attendeeAdded = false; bool attendeeAdded = false;
for (Attendee::List::ConstIterator it = attendeesNew.constBegin(); for (Attendee::List::ConstIterator it = attendeesNew.constBegin(), end = attendeesNew.constEnd();
it != attendeesNew.constEnd(); ++it) { it != end; ++it) {
Attendee::Ptr attNew = *it; Attendee::Ptr attNew = *it;
QString msg = QString msg =
i18nc("@info", "%1 wants to attend %2 but was not invited.", i18nc("@info", "%1 wants to attend %2 but was not invited.",
......
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