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

Minor

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