-rw-r--r-- | korganizer/datenavigatorcontainer.cpp | 7 | ||||
-rw-r--r-- | korganizer/kodaymatrix.cpp | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/korganizer/datenavigatorcontainer.cpp b/korganizer/datenavigatorcontainer.cpp index 6de7c45..9720146 100644 --- a/korganizer/datenavigatorcontainer.cpp +++ b/korganizer/datenavigatorcontainer.cpp @@ -320,3 +320,2 @@ void DateNavigatorContainer::resizeEvent( QResizeEvent * e ) mLastDisplayedDN = horizontalCount*verticalCount-1; - bool setBaseD = false; while ( count > ( mExtraViews.count() + 1 ) ) { @@ -326,3 +325,2 @@ void DateNavigatorContainer::resizeEvent( QResizeEvent * e ) n->setCalendar( mCalendar ); - setBaseD = true; connectNavigatorView( n ); @@ -338,4 +336,4 @@ void DateNavigatorContainer::resizeEvent( QResizeEvent * e ) } - if ( setBaseD ) - setBaseDates(); + + setBaseDates(); if ( fontchange ) { @@ -376,2 +374,3 @@ void DateNavigatorContainer::resizeEvent( QResizeEvent * e ) } + //updateDayMatrixDates(); } diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp index 3ee1fa7..366e8b8 100644 --- a/korganizer/kodaymatrix.cpp +++ b/korganizer/kodaymatrix.cpp @@ -105,3 +105,3 @@ const int KODayMatrix::NUMDAYS = 42; KODayMatrix::KODayMatrix( QWidget *parent, const char *name ) - : QFrame( parent, name ), mCalendar( 0 ) + : QFrame( parent, name , Qt::WRepaintNoErase ), mCalendar( 0 ) |