From 8e7f4812c4ad239b6a17cce8aa84c00274ced4df Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 04 Apr 2005 18:43:08 +0000 Subject: fix --- diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp index b30ad75..23afe7a 100644 --- a/korganizer/koagendaitem.cpp +++ b/korganizer/koagendaitem.cpp @@ -421,6 +421,10 @@ void KOAgendaItem::paintMe( bool selected, QPainter* paint ) paint->drawText ( x, yy, w, h, align, mDisplayedText, -1, &dr ); //qDebug("%d %d %d %d ", x, yy, w, h ); if ( mIncidence->cancelled() ){ + + + small = ( height() < 20 ); + if ( ! small ) { QFontMetrics fm ( paint->font() ); paint->drawLine(dr.left(), yy+fm.height()/2, dr.right()-2, yy+fm.height()/2); -- cgit v0.9.0.2