-rw-r--r-- | korganizer/komonthview.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index 8d06040..610aae6 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp @@ -737,8 +737,13 @@ int MonthViewCell::insertEvent(Event *event) } text = time + event->summary(); - if ( useToolTips ) + if ( useToolTips ) { mToolTipText += prefix + text; + if ( event->doesFloat() ) { + mToolTipText += i18n(" (Duration: %1 days)" ).arg ( event->dtStart().daysTo(event->dtEnd())+1); + + } + } } else { if (event->doesFloat()) { text = event->summary(); |