summaryrefslogtreecommitdiffabout
path: root/korganizer/datenavigatorcontainer.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/datenavigatorcontainer.cpp') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/datenavigatorcontainer.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/korganizer/datenavigatorcontainer.cpp b/korganizer/datenavigatorcontainer.cpp
index 6de7c45..9720146 100644
--- a/korganizer/datenavigatorcontainer.cpp
+++ b/korganizer/datenavigatorcontainer.cpp
@@ -318,13 +318,11 @@ void DateNavigatorContainer::resizeEvent( QResizeEvent * e )
}
mLastDisplayedDN = horizontalCount*verticalCount-1;
- bool setBaseD = false;
while ( count > ( mExtraViews.count() + 1 ) ) {
KDateNavigator *n = new KDateNavigator( this );
n->setMonthSignalOffset ( mExtraViews.count()+1 );
mExtraViews.append( n );
n->setCalendar( mCalendar );
- setBaseD = true;
connectNavigatorView( n );
n->show();
}
@@ -336,7 +334,7 @@ void DateNavigatorContainer::resizeEvent( QResizeEvent * e )
mExtraViews.at( iii )->hide();
++iii;
}
- if ( setBaseD )
+
setBaseDates();
if ( fontchange ) {
//mNavigatorView->changeFont( fo );
@@ -374,6 +372,7 @@ void DateNavigatorContainer::resizeEvent( QResizeEvent * e )
view->setGeometry( x * width,
y * height, width, height );
}
+ //updateDayMatrixDates();
}
QSize DateNavigatorContainer::minimumSizeHint() const