226
226
AttendeeData::List newList = mAttendeeEditor->attendees();
228
228
// The lists sizes *must* be the same. When the organizer is attending the
229
229
// event as well, he should be in the attendees list as well.
234
234
// Okay, again not the most efficient algorithm, but I'm assuming that in the
235
235
// bulk of the use cases, the number of attendees is not much higher than 10 or so.
238
238
for ( int i = 0; i < newList.size(); ++i ) {
239
239
if ( *newList.at( i )->attendee() == *attendee ) {