author | zautrix <zautrix> | 2005-01-30 15:38:08 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-30 15:38:08 (UTC) |
commit | 11736af9b5348f251b0e8a3cf90fdb960c877936 (patch) (side-by-side diff) | |
tree | eda181731c3dd76cb448d103b8d8f9d30757450c /korganizer/koviewmanager.cpp | |
parent | 8d543aa1d1d1ed20001c8b18352d1d29c2979e48 (diff) | |
download | kdepimpi-11736af9b5348f251b0e8a3cf90fdb960c877936.zip kdepimpi-11736af9b5348f251b0e8a3cf90fdb960c877936.tar.gz kdepimpi-11736af9b5348f251b0e8a3cf90fdb960c877936.tar.bz2 |
fix
Diffstat (limited to 'korganizer/koviewmanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/koviewmanager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp index 6da4799..4c03f9a 100644 --- a/korganizer/koviewmanager.cpp +++ b/korganizer/koviewmanager.cpp @@ -99,13 +99,13 @@ void KOViewManager::readSettings(KConfig *config) } void KOViewManager::showDateView( int view, QDate date) { - qDebug("date %d %s", view, date.toString().latin1()); + //qDebug("date %d %s", view, date.toString().latin1()); #if 0 mNewItemPopup->insertItem ( SmallIcon( pathString +"day" ), i18n("Day view"),3 ); mNewItemPopup->insertItem ( SmallIcon( pathString +"week" ), i18n("Next Week"),4 ); mNewItemPopup->insertItem ( SmallIcon( pathString +"month" ), i18n("Next Two Weeks"),5 ); mNewItemPopup->insertItem ( SmallIcon( pathString +"month" ), i18n("Next Month"),6 ); mNewItemPopup->insertItem ( SmallIcon( pathString +"journal" ), i18n("Journal view"),7 ); @@ -189,13 +189,12 @@ void KOViewManager::showView(KOrg::BaseView *view, bool fullScreen ) if(view == mCurrentView && view != mWhatsNextView ) { if ( mCurrentAgendaView < 0 ) return; full = mMainView->leftFrame()->isVisible(); } else { mCurrentView = view; - // bool full = fullScreen; bool isFull = !mMainView->leftFrame()->isVisible(); if ( isFull && KOPrefs::instance()->mViewChangeHoldFullscreen ) full = true; if ( !isFull && KOPrefs::instance()->mViewChangeHoldNonFullscreen ) full = false; @@ -207,13 +206,12 @@ void KOViewManager::showView(KOrg::BaseView *view, bool fullScreen ) raiseCurrentView( full ); mMainView->adaptNavigationUnits(); } void KOViewManager::raiseCurrentView( bool fullScreen ) { - //qDebug("raiseCurrentView "); mCurrentAgendaView = 0; int wid = mMainView->width() ; int hei = mMainView->height(); if ( mCurrentView == mMonthView ) { mMainView->navigatorBar()->show(); hei -= mMainView->navigatorBar()->sizeHint().height(); |