From 26b0c69fb3b11c29475ec02b2cfe52e33eb24e5f Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 06 Feb 2005 13:44:49 +0000 Subject: many small fixes --- (limited to 'korganizer/koviewmanager.cpp') diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp index a74c5fe..dcb51dc 100644 --- a/korganizer/koviewmanager.cpp +++ b/korganizer/koviewmanager.cpp @@ -122,7 +122,7 @@ void KOViewManager::showDateView( int view, QDate date) mCurrentAgendaView = 14 ; mMainView->dateNavigator()->selectDates( date, 14); } else if (view == 6 ) { - mMainView->dateNavigator()->selectDates( date, 7 ); + //mMainView->dateNavigator()->selectDates( date, 7 ); showMonthView(); } else if (view == 7 ) { mMainView->dateNavigator()->selectDate( date ); @@ -223,6 +223,7 @@ void KOViewManager::raiseCurrentView( bool fullScreen, bool callUpdateView ) int hei = mMainView->height(); if ( mCurrentView == mMonthView ) { if ( true /* !KOPrefs::instance()->mMonthViewWeek*/ ) { + mMonthView->setIgnoreResizeEvent( 2 ); mMainView->navigatorBar()->show(); hei -= mMainView->navigatorBar()->sizeHint().height(); } @@ -491,7 +492,7 @@ bool KOViewManager::showsNextDays() return mFlagShowNextxDays; } void KOViewManager::showMonthView() -{ + { if (!mMonthView) { mMonthView = new KOMonthView(mMainView->calendar(), mMainView->viewStack(), "KOViewManager::MonthView"); -- cgit v0.9.0.2