summaryrefslogtreecommitdiffabout
path: root/libkdepim/kincidenceformatter.cpp
Side-by-side diff
Diffstat (limited to 'libkdepim/kincidenceformatter.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/kincidenceformatter.cpp6
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
@@ -247,9 +247,10 @@ void KIncidenceFormatter::formatAttendees(Incidence *event)
if (attendees.count()) {
QString iconPath = KGlobal::iconLoader()->iconPath("mailappt",KIcon::Small);
addTag("h3",i18n("Organizer"));
mText.append("<ul><li>");
-#ifndef KORG_NOKABC
+#if 0
+ //ndef KORG_NOKABC
KABC::AddressBook *add_book = KABC::StdAddressBook::self();
KABC::Addressee::List addressList;
addressList = add_book->findByEmail(event->organizer());
@@ -274,9 +275,10 @@ void KIncidenceFormatter::formatAttendees(Incidence *event)
addTag("h3",i18n("Attendees"));
Attendee *a;
mText.append("<ul>");
for(a=attendees.first();a;a=attendees.next()) {
-#ifndef KORG_NOKABC
+#if 0
+//ndef KORG_NOKABC
if (a->name().isEmpty()) {
addressList = add_book->findByEmail(a->email());
KABC::Addressee o = addressList.first();
if (!o.isEmpty() && addressList.size()<2) {