summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-04-01 20:32:33 (UTC)
committer zautrix <zautrix>2005-04-01 20:32:33 (UTC)
commit12fc62df25e15f6b20d8026ceb09118ca3ed7205 (patch) (side-by-side diff)
tree8686600dc4ed5e5f6e9c79e007b818bfb4546750 /korganizer
parentb1e3bf53b1c4cc46ef0a2ded04338bc38a640161 (diff)
downloadkdepimpi-12fc62df25e15f6b20d8026ceb09118ca3ed7205.zip
kdepimpi-12fc62df25e15f6b20d8026ceb09118ca3ed7205.tar.gz
kdepimpi-12fc62df25e15f6b20d8026ceb09118ca3ed7205.tar.bz2
filterfix
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koagendaview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp
index 667ff2a..1627dba 100644
--- a/korganizer/koagendaview.cpp
+++ b/korganizer/koagendaview.cpp
@@ -663,13 +663,13 @@ void KOAgendaView::createDayLabels()
int newHight;
// ### Before deleting and recreating we could check if mSelectedDates changed...
// It would remove some flickering and gain speed (since this is called by
// each updateView() call)
- int maxWid = mUpcomingWidth - mTimeLabels->width()- mAgenda->verticalScrollBar()->width() - 2;
+ int maxWid = mUpcomingWidth - mTimeLabels->width()- mAgenda->verticalScrollBar()->width() - mAgenda->frameWidth()*2;
mDayLabelsFrame->setMaximumWidth( mUpcomingWidth );
if ( maxWid < 0 )
maxWid = 20;
QFont dlf = KOPrefs::instance()->mTimeLabelsFont;
QFontMetrics fm ( dlf );