Changeset View
Changeset View
Standalone View
Standalone View
src/eventview.cpp
Show First 20 Lines • Show All 628 Lines • ▼ Show 20 Line(s) | 612 | { | |||
---|---|---|---|---|---|
629 | 629 | | |||
630 | if (kcalPreferences()->thatIsMe(ev->organizer().email())) { | 630 | if (kcalPreferences()->thatIsMe(ev->organizer().email())) { | ||
631 | return true; | 631 | return true; | ||
632 | } | 632 | } | ||
633 | 633 | | |||
634 | KCalCore::Attendee::List attendees = ev->attendees(); | 634 | KCalCore::Attendee::List attendees = ev->attendees(); | ||
635 | KCalCore::Attendee::List::ConstIterator it; | 635 | KCalCore::Attendee::List::ConstIterator it; | ||
636 | for (it = attendees.constBegin(); it != attendees.constEnd(); ++it) { | 636 | for (it = attendees.constBegin(); it != attendees.constEnd(); ++it) { | ||
637 | if (kcalPreferences()->thatIsMe((*it)->email())) { | 637 | if (kcalPreferences()->thatIsMe((*it).email())) { | ||
638 | return true; | 638 | return true; | ||
639 | } | 639 | } | ||
640 | } | 640 | } | ||
641 | 641 | | |||
642 | return false; | 642 | return false; | ||
643 | } | 643 | } | ||
644 | 644 | | |||
645 | /*static*/ | 645 | /*static*/ | ||
Show All 35 Lines |