author | zautrix <zautrix> | 2005-06-27 18:45:56 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-27 18:45:56 (UTC) |
commit | 427221638f1e652bd57a37835a1de0134266c3f7 (patch) (unidiff) | |
tree | 5ce070815756cdaccd6c2f0cd6a02e54a1052675 /korganizer/komonthview.cpp | |
parent | 2a6c47afc7688923f427f4a38e3353e3503ab09a (diff) | |
download | kdepimpi-427221638f1e652bd57a37835a1de0134266c3f7.zip kdepimpi-427221638f1e652bd57a37835a1de0134266c3f7.tar.gz kdepimpi-427221638f1e652bd57a37835a1de0134266c3f7.tar.bz2 |
fixx
-rw-r--r-- | korganizer/komonthview.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index 9b0389d..00e5a6f 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp | |||
@@ -307,6 +307,18 @@ void MonthViewItem::recycle( Incidence *incidence, QDate qd, const QString & s) | |||
307 | mInfo = false; | 307 | mInfo = false; |
308 | mdayPos = 0; | 308 | mdayPos = 0; |
309 | } | 309 | } |
310 | void MonthViewItem::clearData() | ||
311 | { | ||
312 | mDisplayHightlighted = false; | ||
313 | setText( "" ); | ||
314 | mMultiday = 0; | ||
315 | mIncidence = 0; | ||
316 | mRecur = false; | ||
317 | mAlarm = false; | ||
318 | mReply = false; | ||
319 | mInfo = false; | ||
320 | mdayPos = 0; | ||
321 | } | ||
310 | bool MonthViewItem::setHighlightedFalse() | 322 | bool MonthViewItem::setHighlightedFalse() |
311 | { | 323 | { |
312 | if ( !mDisplayHightlighted ) | 324 | if ( !mDisplayHightlighted ) |
@@ -655,6 +667,8 @@ void MonthViewCell::startUpdateCell() | |||
655 | //clear(); | 667 | //clear(); |
656 | while ( CurrentAvailItem ) { | 668 | while ( CurrentAvailItem ) { |
657 | MonthViewItem *item = CurrentAvailItem; | 669 | MonthViewItem *item = CurrentAvailItem; |
670 | //item->setHighlightedFalse(); | ||
671 | item->clearData(); | ||
658 | CurrentAvailItem = (MonthViewItem *)item->next(); | 672 | CurrentAvailItem = (MonthViewItem *)item->next(); |
659 | mAvailItemList.append( item ); | 673 | mAvailItemList.append( item ); |
660 | takeItem ( item ); | 674 | takeItem ( item ); |