-rw-r--r-- | korganizer/incomingdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/incomingdialog.cpp b/korganizer/incomingdialog.cpp index 490d21e..f3bd09f 100644 --- a/korganizer/incomingdialog.cpp +++ b/korganizer/incomingdialog.cpp | |||
@@ -503,25 +503,25 @@ bool IncomingDialog::checkOrganizerInAddressbook(QString organizer) | |||
503 | KABC::Addressee::List addressList; | 503 | KABC::Addressee::List addressList; |
504 | addressList = add_book->findByEmail(organizer); | 504 | addressList = add_book->findByEmail(organizer); |
505 | if ( addressList.size()>0 ) inBook = true; | 505 | if ( addressList.size()>0 ) inBook = true; |
506 | #endif | 506 | #endif |
507 | return inBook; | 507 | return inBook; |
508 | } | 508 | } |
509 | 509 | ||
510 | bool IncomingDialog::checkAttendeesInAddressbook(IncidenceBase *inc) | 510 | bool IncomingDialog::checkAttendeesInAddressbook(IncidenceBase *inc) |
511 | { | 511 | { |
512 | bool inBook = false; | 512 | bool inBook = false; |
513 | #ifndef KORG_NOKABC | 513 | #ifndef KORG_NOKABC |
514 | KABC::AddressBook *add_book = KABC::StdAddressBook::self(); | 514 | KABC::AddressBook *add_book = KABC::StdAddressBook::self(); |
515 | KABC::Addressee::List addressList; | 515 | KABC::Addressee::List addressList; |
516 | QPtrList <Attendee> attendees; | 516 | QPtrList <Attendee> attendees; |
517 | Attendee *att; | 517 | Attendee *att; |
518 | attendees = inc->attendees(); | 518 | attendees = inc->attendees(); |
519 | for (att=attendees.first();att;att=attendees.next()) { | 519 | for (att=attendees.first();att;att=attendees.next()) { |
520 | addressList = add_book->findByEmail(att->email()); | 520 | addressList = add_book->findByEmail(att->email()); |
521 | if (addressList.size()>0 ) inBook = true; | 521 | if (addressList.size()>0 ) inBook = true; |
522 | } | 522 | } |
523 | #endif | 523 | #endif |
524 | return inBook; | 524 | return inBook; |
525 | } | 525 | } |
526 | 526 | ||
527 | #include "incomingdialog.moc" | 527 | //#include "incomingdialog.moc" |