author | zautrix <zautrix> | 2005-10-10 01:15:22 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-10-10 01:15:22 (UTC) |
commit | b4ed5a3409d8a6d2f443e78306abbaf6963f0f9e (patch) (side-by-side diff) | |
tree | 9b37ba3cce4cbe4431e7075f1ef586ac9d2256c2 /korganizer/komonthview.cpp | |
parent | a1bde7e0949e35073c3b6126db9bb55ffca77102 (diff) | |
download | kdepimpi-b4ed5a3409d8a6d2f443e78306abbaf6963f0f9e.zip kdepimpi-b4ed5a3409d8a6d2f443e78306abbaf6963f0f9e.tar.gz kdepimpi-b4ed5a3409d8a6d2f443e78306abbaf6963f0f9e.tar.bz2 |
dur
-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(); |