File r899982.diff of Package kdepimlibs4
Subject: Fix for improperly formatted mailto: links in the KOrganizer eventviewer.
From: wstephenson@suse.de
Bug:
Patch-upstream: 899982
--- kcal/incidenceformatter.cpp (revision 899981)
+++ kcal/incidenceformatter.cpp (revision 899982)
@@ -123,7 +123,6 @@ static QString linkPerson( const QString
uid.clear();
}
}
- kDebug() << "formatAttendees: uid =" << uid;
// Show the attendee
QString tmpString = "<li>";
@@ -143,10 +142,9 @@ static QString linkPerson( const QString
// Make the mailto link
if ( !email.isEmpty() && !iconPath.isNull() ) {
- KCal::Person person( name, email );
KUrl mailto;
mailto.setProtocol( "mailto" );
- mailto.setPath( person.fullName() );
+ mailto.setPath( email );
tmpString += eventViewerAddLink( mailto.url(), "<img src=\"" + iconPath + "\">" );
}
tmpString += "</li>\n";
Index: kcal/incidenceformatter.cpp
===================================================================