author | zautrix <zautrix> | 2005-06-29 20:50:39 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-29 20:50:39 (UTC) |
commit | d1ca2fd41cb1390843c974c985cae5912d458d51 (patch) (side-by-side diff) | |
tree | 7df650cfed3562a9e98c9f1eac9da0ee6beec6c1 /korganizer | |
parent | f55b992a98cc081207b23283aadcf2ecffc90a87 (diff) | |
download | kdepimpi-d1ca2fd41cb1390843c974c985cae5912d458d51.zip kdepimpi-d1ca2fd41cb1390843c974c985cae5912d458d51.tar.gz kdepimpi-d1ca2fd41cb1390843c974c985cae5912d458d51.tar.bz2 |
fhhh
-rw-r--r-- | korganizer/calendarview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 623cf9d..214b829 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -444,16 +444,18 @@ void CalendarView::init() } mMainFrame->setSizePolicy( QSizePolicy (QSizePolicy::Expanding,QSizePolicy::Expanding) ); //QBoxLayout * leftFrameLayout; topLayout->addWidget( mMainFrame ); #ifdef DESKTOP_VERSION mDateScrollBar = new QScrollBar ( 0, 364, 1,30, 200,QScrollBar::Horizontal, this ); topLayout->addWidget( mDateScrollBar ); connect( mDateScrollBar, SIGNAL( valueChanged ( int ) ),this, SLOT( scrollBarValue( int )) ); + if ( QApplication::desktop()->width() < 800 ) + mDateScrollBar->hide(); #endif //mainBoxLayout->addWidget (mLeftFrame); mDateNavigator = new DateNavigatorContainer( mLeftFrame, "CalendarView::DateNavigator" ); #if 0 // FIXME mDateNavigator = new KDateNavigator(mLeftFrame, mCalendar, TRUE, "CalendarView::DateNavigator", QDate::currentDate()); |