-rw-r--r-- | korganizer/komonthview.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index 02d2585..da81586 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp @@ -917,19 +917,26 @@ KOMonthView::KOMonthView(Calendar *calendar, QWidget *parent, const char *name) //mWeekLabels[mNumWeeks]->setText( i18n("W")); +#if 0 if ( mShowWeekView ) mWidStack->raiseWidget( mWeekView ); else mWidStack->raiseWidget( mMonthView ); +#endif emit incidenceSelected( 0 ); #ifndef DESKTOP_VERSION resize( QApplication::desktop()->size() ); #else resize(640, 480 ); + updatePossible = true; #endif computeLayout(); + if ( mShowWeekView ) + mWidStack->raiseWidget( mWeekView ); + else + mWidStack->raiseWidget( mMonthView ); } KOMonthView::~KOMonthView() |