summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index 69bcb68..d10082f 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -434,21 +434,20 @@ DateBookEvent::DateBookEvent(const EffectiveEvent &ev,
434 msg += "<br>" + TimeString::timeString(QTime((ev).event().start().time()) ) 434 msg += "<br>" + TimeString::timeString(QTime((ev).event().start().time()) )
435 // end time of event 435 // end time of event
436 + "<b> - </b>" + TimeString::timeString(QTime((ev).event().end().time()) ); 436 + "<b> - </b>" + TimeString::timeString(QTime((ev).event().end().time()) );
437 } 437 }
438 msg += "<BR>";
439 // include possible note or not 438 // include possible note or not
440 if (SHOW_NOTES == 1) { 439 if (SHOW_NOTES == 1) {
441 msg += " <i>note</i>:" +((ev).notes()).mid(0, MAX_CHAR_CLIP) + "<br>"; 440 msg += "<br> <i>note</i>:" +((ev).notes()).mid(0, MAX_CHAR_CLIP) + "<br>";
442 } 441 }
443 } else if ((time.toString() <= TimeString::dateString((ev).event().end())) ) { 442 } else if ((time.toString() <= TimeString::dateString((ev).event().end())) ) {
444 msg += "<B>" + (ev).description() + "</B>"; 443 msg += "<B>" + (ev).description() + "</B>";
445 if ( (ev).event().hasAlarm() ) { 444 if ( (ev).event().hasAlarm() ) {
446 msg += " <b>[with alarm]</b>"; 445 msg += " <b>[with alarm]</b>";
447 } 446 }
448 // include location or not 447 // include location or not
449 if (SHOW_LOCATION == 1) { 448 if (SHOW_LOCATION == 1) {
450 msg+= "<BR><i>" + (ev).location(); 449 msg += "<BR><i>" + (ev).location();
451 msg += "</i>"; 450 msg += "</i>";
452 } 451 }
453 452
454 if ( (TimeString::timeString(QTime((ev).event().start().time()) ) == "00:00") && (TimeString::timeString(QTime((ev).event().end().time()) ) == "23:59") ) { 453 if ( (TimeString::timeString(QTime((ev).event().start().time()) ) == "00:00") && (TimeString::timeString(QTime((ev).event().end().time()) ) == "23:59") ) {