[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdepim/kontact/plugins/korganizer
From: Allen Winter <winter () kde ! org>
Date: 2006-09-22 17:30:11
Message-ID: 1158946211.366972.24346.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 587425 by winterz:
don't show "Today" as the starting date for multi-day events; use the actual
date instead.
BUGS: 125258
M +3 -2 summarywidget.cpp
--- branches/KDE/3.5/kdepim/kontact/plugins/korganizer/summarywidget.cpp #587424:587425
@@ -173,8 +173,9 @@
// Print the date span for multiday, floating events, for the
// first day of the event only.
if ( ev->isMultiDay() && ev->doesFloat() && dayof == 1 && span > 1 ) {
- QString endstr = KGlobal::locale()->formatDate( sD.addDays( span-1 ) );
- datestr += " -\n " + endstr;
+ datestr = KGlobal::locale()->formatDate( ev->dtStart().date() );
+ datestr += " -\n " +
+ KGlobal::locale()->formatDate( sD.addDays( span-1 ) );
}
label = new QLabel( datestr, this );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic