-rw-r--r-- | korganizer/komonthview.cpp | 14 | ||||
-rw-r--r-- | korganizer/komonthview.h | 1 |
2 files changed, 15 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 @@ -309,2 +309,14 @@ void MonthViewItem::recycle( Incidence *incidence, QDate qd, const QString & s) } +void MonthViewItem::clearData() +{ + mDisplayHightlighted = false; + setText( "" ); + mMultiday = 0; + mIncidence = 0; + mRecur = false; + mAlarm = false; + mReply = false; + mInfo = false; + mdayPos = 0; +} bool MonthViewItem::setHighlightedFalse() @@ -657,2 +669,4 @@ void MonthViewCell::startUpdateCell() MonthViewItem *item = CurrentAvailItem; + //item->setHighlightedFalse(); + item->clearData(); CurrentAvailItem = (MonthViewItem *)item->next(); diff --git a/korganizer/komonthview.h b/korganizer/komonthview.h index 159af16..ac97860 100644 --- a/korganizer/komonthview.h +++ b/korganizer/komonthview.h @@ -109,2 +109,3 @@ class MonthViewItem: public QListBoxItem void recycle( Incidence *incidence, QDate qd, const QString & s); + void clearData(); void setRecur(bool on) { mRecur = on; } |