summaryrefslogtreecommitdiffabout
path: root/korganizer/koeventviewer.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/koeventviewer.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeventviewer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/koeventviewer.cpp b/korganizer/koeventviewer.cpp
index 2faf18f..de11c13 100644
--- a/korganizer/koeventviewer.cpp
+++ b/korganizer/koeventviewer.cpp
@@ -422,5 +422,5 @@ void KOEventViewer::appendTodo(Todo *event, int mode )
formatAttendees(event);
if ( event->relatedTo() ) {
- addTag("b",i18n("Parent todo: "));
+ addTag("b",i18n("Parent todo:<br>"));
mText.append(event->relatedTo()->summary()+" [" +QString::number(event->relatedTo()->priority()) + "/" + QString::number(((Todo*)event->relatedTo())->percentComplete())+"%] <br>");
}
@@ -535,9 +535,9 @@ void KOEventViewer::formatAttendees(Incidence *event)
mText += "<a href=\"mailto:" + a->name() +" <" + a->email() + ">:" + mMailSubject + "\">";
if ( a->RSVP() ) {
- ++a_count;
+ ++a_count_nr;
mText += "<IMG src=\"" + iconPath + "\">";
}
else {
- ++a_count_nr;
+ ++a_count;
mText += "<IMG src=\"" + NOiconPath + "\">";
}
@@ -551,5 +551,5 @@ void KOEventViewer::formatAttendees(Incidence *event)
}
mText.append("</li></ul>");
- if ( a_count > 1 ) {
+ if ( (a_count+a_count_nr) > 1 ) {
mText += "<a href=\"mailto:ALL\">";
mText += i18n( "Mail to all" );
@@ -567,5 +567,5 @@ void KOEventViewer::formatAttendees(Incidence *event)
mText += "</a> ( ";
mText += i18n( "<IMG src=\"%1\"> only )").arg ( iconPath );
- mText += "\n";
+ mText += "<br>\n";
}
}