author | zautrix <zautrix> | 2004-09-09 21:10:16 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-09 21:10:16 (UTC) |
commit | 5b0e3c87bbe32aacd51f6faff5446ed3838a68e0 (patch) (unidiff) | |
tree | 131651cf98ced42d2389f03f7a3f11aa47cf575f /korganizer | |
parent | 480ffef4859d24cc0a936377f8983fd59312d4b6 (diff) | |
download | kdepimpi-5b0e3c87bbe32aacd51f6faff5446ed3838a68e0.zip kdepimpi-5b0e3c87bbe32aacd51f6faff5446ed3838a68e0.tar.gz kdepimpi-5b0e3c87bbe32aacd51f6faff5446ed3838a68e0.tar.bz2 |
Fixed organizer request details bug
-rw-r--r-- | korganizer/koeventviewer.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/korganizer/koeventviewer.cpp b/korganizer/koeventviewer.cpp index 2f538c4..d34e6a9 100644 --- a/korganizer/koeventviewer.cpp +++ b/korganizer/koeventviewer.cpp | |||
@@ -103,8 +103,12 @@ void KOEventViewer::setSource(const QString& n) | |||
103 | return; | 103 | return; |
104 | } | 104 | } |
105 | #else | 105 | #else |
106 | { | 106 | { |
107 | if ( "uid:organizer" == n ) { | ||
108 | ExternalAppHandler::instance()->requestDetailsFromKAPI("", mCurrentIncidence->organizer(),""); | ||
109 | return; | ||
110 | } | ||
107 | QPtrList<Attendee> attendees = mCurrentIncidence->attendees(); | 111 | QPtrList<Attendee> attendees = mCurrentIncidence->attendees(); |
108 | if (attendees.count()) { | 112 | if (attendees.count()) { |
109 | Attendee *a; | 113 | Attendee *a; |
110 | for(a=attendees.first();a;a=attendees.next()) { | 114 | for(a=attendees.first();a;a=attendees.next()) { |
@@ -416,9 +420,11 @@ void KOEventViewer::formatAttendees(Incidence *event) | |||
416 | } else { | 420 | } else { |
417 | mText.append(event->organizer()); | 421 | mText.append(event->organizer()); |
418 | } | 422 | } |
419 | #else //DESKTOP_VERSION | 423 | #else //DESKTOP_VERSION |
420 | mText.append(event->organizer()); | 424 | mText += "<a href=\"uid:organizer\">"; |
425 | mText += event->organizer(); | ||
426 | mText += "</a>\n"; | ||
421 | #endif //DESKTOP_VERSION | 427 | #endif //DESKTOP_VERSION |
422 | 428 | ||
423 | 429 | ||
424 | #else | 430 | #else |