summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-06-29 20:50:39 (UTC)
committer zautrix <zautrix>2005-06-29 20:50:39 (UTC)
commitd1ca2fd41cb1390843c974c985cae5912d458d51 (patch) (side-by-side diff)
tree7df650cfed3562a9e98c9f1eac9da0ee6beec6c1
parentf55b992a98cc081207b23283aadcf2ecffc90a87 (diff)
downloadkdepimpi-d1ca2fd41cb1390843c974c985cae5912d458d51.zip
kdepimpi-d1ca2fd41cb1390843c974c985cae5912d458d51.tar.gz
kdepimpi-d1ca2fd41cb1390843c974c985cae5912d458d51.tar.bz2
fhhh
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/calendarview.cpp2
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
@@ -440,24 +440,26 @@ void CalendarView::init()
mMainFrame = new KDGanttMinimizeSplitter( Qt::Horizontal, this);
mMainFrame->setMinimizeDirection ( KDGanttMinimizeSplitter::Left);
mLeftFrame = new KDGanttMinimizeSplitter( Qt::Vertical, mMainFrame);
mLeftFrame->setMinimizeDirection ( KDGanttMinimizeSplitter::Up );
}
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());
#endif
// mDateNavigator->blockSignals( true );
//leftFrameLayout->addWidget( mDateNavigator );
mTodoList = new KOTodoView(mCalendar, mLeftFrame, "todolistsmall");