Diffstat (limited to 'core/pim/datebook/datebookday.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/datebook/datebookday.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/pim/datebook/datebookday.cpp b/core/pim/datebook/datebookday.cpp index d5daab2..67a88e9 100644 --- a/core/pim/datebook/datebookday.cpp +++ b/core/pim/datebook/datebookday.cpp | |||
@@ -482,16 +482,16 @@ DateBookDayWidget::DateBookDayWidget( const EffectiveEvent &e, | |||
482 | // Show end time. | 482 | // Show end time. |
483 | text += TimeString::timeString( ev.end(), whichClock, FALSE ); | 483 | text += TimeString::timeString( ev.end(), whichClock, FALSE ); |
484 | } | 484 | } |
485 | text += "<br><br>" + strNote; | 485 | text += "<br><br>" + strNote; |
486 | setBackgroundMode( PaletteBase ); | 486 | setBackgroundMode( PaletteBase ); |
487 | 487 | ||
488 | QTime s = ev.start(); | 488 | QTime start = ev.start(); |
489 | QTime e = ev.end(); | 489 | QTime end = ev.end(); |
490 | int y = s.hour()*60+s.minute(); | 490 | int y = start.hour()*60+start.minute(); |
491 | int h = e.hour()*60+e.minute()-y; | 491 | int h = end.hour()*60+end.minute()-y; |
492 | int rh = dateBook->dayView()->rowHeight(0); | 492 | int rh = dateBook->dayView()->rowHeight(0); |
493 | y = y*rh/60; | 493 | y = y*rh/60; |
494 | h = h*rh/60; | 494 | h = h*rh/60; |
495 | if ( h < 3 ) | 495 | if ( h < 3 ) |
496 | h = 3; | 496 | h = 3; |
497 | geom.setY( y ); | 497 | geom.setY( y ); |