Diffstat (limited to 'libkdepim/kincidenceformatter.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libkdepim/kincidenceformatter.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libkdepim/kincidenceformatter.cpp b/libkdepim/kincidenceformatter.cpp index 4815519..2f41409 100644 --- a/libkdepim/kincidenceformatter.cpp +++ b/libkdepim/kincidenceformatter.cpp | |||
@@ -248,7 +248,8 @@ void KIncidenceFormatter::formatAttendees(Incidence *event) | |||
248 | QString iconPath = KGlobal::iconLoader()->iconPath("mailappt",KIcon::Small); | 248 | QString iconPath = KGlobal::iconLoader()->iconPath("mailappt",KIcon::Small); |
249 | addTag("h3",i18n("Organizer")); | 249 | addTag("h3",i18n("Organizer")); |
250 | mText.append("<ul><li>"); | 250 | mText.append("<ul><li>"); |
251 | #ifndef KORG_NOKABC | 251 | #if 0 |
252 | //ndef KORG_NOKABC | ||
252 | 253 | ||
253 | KABC::AddressBook *add_book = KABC::StdAddressBook::self(); | 254 | KABC::AddressBook *add_book = KABC::StdAddressBook::self(); |
254 | KABC::Addressee::List addressList; | 255 | KABC::Addressee::List addressList; |
@@ -275,7 +276,8 @@ void KIncidenceFormatter::formatAttendees(Incidence *event) | |||
275 | Attendee *a; | 276 | Attendee *a; |
276 | mText.append("<ul>"); | 277 | mText.append("<ul>"); |
277 | for(a=attendees.first();a;a=attendees.next()) { | 278 | for(a=attendees.first();a;a=attendees.next()) { |
278 | #ifndef KORG_NOKABC | 279 | #if 0 |
280 | //ndef KORG_NOKABC | ||
279 | if (a->name().isEmpty()) { | 281 | if (a->name().isEmpty()) { |
280 | addressList = add_book->findByEmail(a->email()); | 282 | addressList = add_book->findByEmail(a->email()); |
281 | KABC::Addressee o = addressList.first(); | 283 | KABC::Addressee o = addressList.first(); |