summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-02-04 23:11:42 (UTC)
committer zautrix <zautrix>2005-02-04 23:11:42 (UTC)
commit3a822a4c4867acb28dc1b3b9557918d0971f732c (patch) (side-by-side diff)
tree31e5c2627cf739feb944bda079935fa9b2b9df6b /korganizer
parentc6dceabcb41f6300ca97e69872fc801451944a32 (diff)
downloadkdepimpi-3a822a4c4867acb28dc1b3b9557918d0971f732c.zip
kdepimpi-3a822a4c4867acb28dc1b3b9557918d0971f732c.tar.gz
kdepimpi-3a822a4c4867acb28dc1b3b9557918d0971f732c.tar.bz2
nochn fixxx
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/komonthview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp
index df5e060..31c5659 100644
--- a/korganizer/komonthview.cpp
+++ b/korganizer/komonthview.cpp
@@ -242,25 +242,25 @@ void MonthViewItem::paint(QPainter *p)
QFontMetrics fm = p->fontMetrics();
int yPos;
int pmheight = size;
if( pmheight < fm.height() )
yPos = fm.ascent() + fm.leading()/2;
else
yPos = pmheight/2 - fm.height()/2 + fm.ascent();
p->setPen( palette().color( QPalette::Normal, sel ? \
QColorGroup::HighlightedText : QColorGroup::Foreground ) );
p->drawText( x, yPos, text() );
if ( mIncidence->cancelled() ) {
int wid = fm.width( text() );
- p->drawLine( x, yPos- fm.height()/2+2,x+wid, yPos- fm.height()/2 +2);
+ p->drawLine( x, yPos- fm.height()/2+3,x+wid, yPos- fm.height()/2 +3);
}
}
int MonthViewItem::height(const QListBox *lb) const
{
return lb->fontMetrics().lineSpacing()+1;
}
int MonthViewItem::width(const QListBox *lb) const
{
int size = PIXMAP_SIZE;