-rw-r--r-- | korganizer/komonthview.cpp | 3 | ||||
-rw-r--r-- | libkcal/incidence.cpp | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index 425496a..6d6ae8a 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp @@ -392,9 +392,9 @@ void MonthViewItem::paint(QPainter *p) QColorGroup::HighlightedText : QColorGroup::Foreground ) ); p->drawText( x, yPos, text() ); if ( mIncidence->cancelled() ) { int wid = fm.width( text() ); - p->drawLine( x, heihei/2-1 ,x+wid, heihei/2-1 ); + p->drawLine( x, heihei/2 ,x+wid, heihei/2 ); } } @@ -407,9 +407,8 @@ int MonthViewItem::height(const QListBox *lb) const } int MonthViewItem::width(const QListBox *lb) const { - if( KOPrefs::instance()->mEnableMonthScroll || isWeekItem ) { int size = PIXMAP_SIZE; if ( QApplication::desktop()->width() < 300 ) size = 3; diff --git a/libkcal/incidence.cpp b/libkcal/incidence.cpp index 9a36939..a312ba5 100644 --- a/libkcal/incidence.cpp +++ b/libkcal/incidence.cpp @@ -247,8 +247,9 @@ Incidence* Incidence::recreateCloneException( QDate d ) ((Todo*)newInc)->setDtDue( QDateTime(d, tim) ); ((Todo*)newInc)->setDtStart( ((Todo*)newInc)->dtDue().addSecs( -len ) ); ((Todo*)this)->setRecurDates(); } + newInc->setExDates( DateList () ); } return newInc; } |