Diffstat (limited to 'core/pim/datebook/datebookday.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/datebook/datebookday.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/core/pim/datebook/datebookday.cpp b/core/pim/datebook/datebookday.cpp index 325b902..aaf3e16 100644 --- a/core/pim/datebook/datebookday.cpp +++ b/core/pim/datebook/datebookday.cpp | |||
@@ -599,4 +599,6 @@ DateBookDayWidget::DateBookDayWidget( const EffectiveEvent &e, | |||
599 | 599 | ||
600 | text = "<b>" + strDesc + "</b><br>" + "<i>" | 600 | text = "<b>" + strDesc + "</b><br>" + "<i>"; |
601 | + strCat + "</i><br>"; | 601 | if ( !strCat.isEmpty() ) { |
602 | text += strCat + "</i><br>"; | ||
603 | } | ||
602 | if (ev.event().type() == Event::Normal ) | 604 | if (ev.event().type() == Event::Normal ) |
@@ -617,4 +619,5 @@ DateBookDayWidget::DateBookDayWidget( const EffectiveEvent &e, | |||
617 | h = h*rh/60; | 619 | h = h*rh/60; |
618 | if ( h < 3 ) | 620 | if ( h < 3 ) { |
619 | h = 3; | 621 | h = 3; |
622 | } | ||
620 | geom.setY( y ); | 623 | geom.setY( y ); |
@@ -630,3 +633,3 @@ void DateBookDayWidget::setEventText( QString& text ) { | |||
630 | bool whichClock = dateBook->dayView()->whichClock(); | 633 | bool whichClock = dateBook->dayView()->whichClock(); |
631 | text += "<b>" + tr("Start") + "</b>: "; | 634 | text += "<b>" + tr("Time") + "</b>: "; |
632 | if ( ev.startDate() != ev.date() ) { | 635 | if ( ev.startDate() != ev.date() ) { |
@@ -639,3 +642,3 @@ void DateBookDayWidget::setEventText( QString& text ) { | |||
639 | 642 | ||
640 | text += "<br><b>" + tr("End") + "</b>: "; | 643 | text += "<b>" + tr(" - ") + "</b>"; |
641 | if ( ev.endDate() != ev.date() ) { | 644 | if ( ev.endDate() != ev.date() ) { |