summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-03-25 19:49:52 (UTC)
committer zautrix <zautrix>2005-03-25 19:49:52 (UTC)
commit4d93404e3453229e58c2ff9305beae131c9f1af9 (patch) (unidiff)
treeaa5a4664ba2de62fbfe8c43b23e906868da16e86
parentae440bf75e7f74f35f83d082de9c7a34d2d3c65d (diff)
downloadkdepimpi-4d93404e3453229e58c2ff9305beae131c9f1af9.zip
kdepimpi-4d93404e3453229e58c2ff9305beae131c9f1af9.tar.gz
kdepimpi-4d93404e3453229e58c2ff9305beae131c9f1af9.tar.bz2
fix
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/koagendaview.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp
index f287216..957ac52 100644
--- a/korganizer/koagendaview.cpp
+++ b/korganizer/koagendaview.cpp
@@ -129,6 +129,5 @@ void TimeLabels::drawContents(QPainter *p,int cx, int cy, int cw, int ch)
129 int tW = fm.width("24:00i"); 129 int tW = fm.width("24:00i");
130 int timeHeight = fm.height(); 130 int timeHeight = fm.height();
131 if ( timeHeight > mCellHeight ) 131 timeHeight -= (timeHeight/4-2);
132 timeHeight = mCellHeight-1;
133 int borderWidth = 5; 132 int borderWidth = 5;
134 QFont nFont = p->font(); 133 QFont nFont = p->font();
@@ -139,4 +138,8 @@ void TimeLabels::drawContents(QPainter *p,int cx, int cy, int cw, int ch)
139 QFontMetrics fmS( sFont ); 138 QFontMetrics fmS( sFont );
140 int sHei = fmS.height(); 139 int sHei = fmS.height();
140 if ( timeHeight > mCellHeight ) {
141 timeHeight = mCellHeight-1;
142 sHei -= 2;
143 }
141 144
142 while (y < cy + ch) { 145 while (y < cy + ch) {