-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 | |||
@@ -449,6 +449,8 @@ void CalendarView::init() | |||
449 | mDateScrollBar = new QScrollBar ( 0, 364, 1,30, 200,QScrollBar::Horizontal, this ); | 449 | mDateScrollBar = new QScrollBar ( 0, 364, 1,30, 200,QScrollBar::Horizontal, this ); |
450 | topLayout->addWidget( mDateScrollBar ); | 450 | topLayout->addWidget( mDateScrollBar ); |
451 | connect( mDateScrollBar, SIGNAL( valueChanged ( int ) ),this, SLOT( scrollBarValue( int )) ); | 451 | connect( mDateScrollBar, SIGNAL( valueChanged ( int ) ),this, SLOT( scrollBarValue( int )) ); |
452 | if ( QApplication::desktop()->width() < 800 ) | ||
453 | mDateScrollBar->hide(); | ||
452 | #endif | 454 | #endif |
453 | //mainBoxLayout->addWidget (mLeftFrame); | 455 | //mainBoxLayout->addWidget (mLeftFrame); |
454 | mDateNavigator = new DateNavigatorContainer( mLeftFrame, | 456 | mDateNavigator = new DateNavigatorContainer( mLeftFrame, |