summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/koeventviewer.cpp8
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)
return;
}
#else
{
+ if ( "uid:organizer" == n ) {
+ ExternalAppHandler::instance()->requestDetailsFromKAPI("", mCurrentIncidence->organizer(),"");
+ return;
+ }
QPtrList<Attendee> attendees = mCurrentIncidence->attendees();
if (attendees.count()) {
Attendee *a;
for(a=attendees.first();a;a=attendees.next()) {
@@ -416,9 +420,11 @@ void KOEventViewer::formatAttendees(Incidence *event)
} else {
mText.append(event->organizer());
}
#else //DESKTOP_VERSION
- mText.append(event->organizer());
+ mText += "<a href=\"uid:organizer\">";
+ mText += event->organizer();
+ mText += "</a>\n";
#endif //DESKTOP_VERSION
#else