author | zautrix <zautrix> | 2005-02-04 23:11:42 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-04 23:11:42 (UTC) |
commit | 3a822a4c4867acb28dc1b3b9557918d0971f732c (patch) (unidiff) | |
tree | 31e5c2627cf739feb944bda079935fa9b2b9df6b | |
parent | c6dceabcb41f6300ca97e69872fc801451944a32 (diff) | |
download | kdepimpi-3a822a4c4867acb28dc1b3b9557918d0971f732c.zip kdepimpi-3a822a4c4867acb28dc1b3b9557918d0971f732c.tar.gz kdepimpi-3a822a4c4867acb28dc1b3b9557918d0971f732c.tar.bz2 |
nochn fixxx
-rw-r--r-- | korganizer/komonthview.cpp | 2 |
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 | |||
@@ -246,17 +246,17 @@ void MonthViewItem::paint(QPainter *p) | |||
246 | yPos = fm.ascent() + fm.leading()/2; | 246 | yPos = fm.ascent() + fm.leading()/2; |
247 | else | 247 | else |
248 | yPos = pmheight/2 - fm.height()/2 + fm.ascent(); | 248 | yPos = pmheight/2 - fm.height()/2 + fm.ascent(); |
249 | p->setPen( palette().color( QPalette::Normal, sel ? \ | 249 | p->setPen( palette().color( QPalette::Normal, sel ? \ |
250 | QColorGroup::HighlightedText : QColorGroup::Foreground ) ); | 250 | QColorGroup::HighlightedText : QColorGroup::Foreground ) ); |
251 | p->drawText( x, yPos, text() ); | 251 | p->drawText( x, yPos, text() ); |
252 | if ( mIncidence->cancelled() ) { | 252 | if ( mIncidence->cancelled() ) { |
253 | int wid = fm.width( text() ); | 253 | int wid = fm.width( text() ); |
254 | p->drawLine( x, yPos- fm.height()/2+2,x+wid, yPos- fm.height()/2 +2); | 254 | p->drawLine( x, yPos- fm.height()/2+3,x+wid, yPos- fm.height()/2 +3); |
255 | } | 255 | } |
256 | 256 | ||
257 | } | 257 | } |
258 | 258 | ||
259 | int MonthViewItem::height(const QListBox *lb) const | 259 | int MonthViewItem::height(const QListBox *lb) const |
260 | { | 260 | { |
261 | return lb->fontMetrics().lineSpacing()+1; | 261 | return lb->fontMetrics().lineSpacing()+1; |
262 | } | 262 | } |