author | zautrix <zautrix> | 2005-02-19 23:16:04 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-19 23:16:04 (UTC) |
commit | e82ab2271ce57a71a0ae3890e9b09a9fcc6043e4 (patch) (unidiff) | |
tree | f4aee70f22fe7807279e0b6c7ee2c6e420694331 /korganizer | |
parent | 6c152b28df5d22b75b1b0dcef77073f0320c5710 (diff) | |
download | kdepimpi-e82ab2271ce57a71a0ae3890e9b09a9fcc6043e4.zip kdepimpi-e82ab2271ce57a71a0ae3890e9b09a9fcc6043e4.tar.gz kdepimpi-e82ab2271ce57a71a0ae3890e9b09a9fcc6043e4.tar.bz2 |
fix
-rw-r--r-- | korganizer/komonthview.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index 3aaa50a..c125ce9 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp | |||
@@ -195,7 +195,7 @@ MonthViewItem::MonthViewItem( Incidence *incidence, QDate qd, const QString & s) | |||
195 | : QListBoxItem() | 195 | : QListBoxItem() |
196 | { | 196 | { |
197 | setText( s ); | 197 | setText( s ); |
198 | 198 | mMultiday = 0; | |
199 | mIncidence = incidence; | 199 | mIncidence = incidence; |
200 | mDate = qd; | 200 | mDate = qd; |
201 | mRecur = false; | 201 | mRecur = false; |
@@ -516,9 +516,10 @@ void MonthViewCell::insertEvent(Event *event) | |||
516 | } | 516 | } |
517 | else { | 517 | else { |
518 | int days = event->dtStart().date().daysTo ( event->dtEnd().date() ); | 518 | int days = event->dtStart().date().daysTo ( event->dtEnd().date() ); |
519 | if ( event->recursOn( mDate.addDays( -days)) ) | 519 | if ( event->recursOn( mDate.addDays( -days)) ) { |
520 | prefix ="<-" ;multiday = 3; | 520 | prefix ="<-" ;multiday = 3; |
521 | } | 521 | } |
522 | } | ||
522 | 523 | ||
523 | } else { | 524 | } else { |
524 | if (mDate == event->dtStart().date()) { | 525 | if (mDate == event->dtStart().date()) { |