summaryrefslogtreecommitdiffabout
path: root/korganizer/koagendaitem.cpp
authorzautrix <zautrix>2005-04-04 18:43:08 (UTC)
committer zautrix <zautrix>2005-04-04 18:43:08 (UTC)
commit8e7f4812c4ad239b6a17cce8aa84c00274ced4df (patch) (unidiff)
tree4245f8dbe39ce59c1199a9a97dc68ec74825271b /korganizer/koagendaitem.cpp
parentff205358654ed8741f0008eabd64a0e8b0476b61 (diff)
downloadkdepimpi-8e7f4812c4ad239b6a17cce8aa84c00274ced4df.zip
kdepimpi-8e7f4812c4ad239b6a17cce8aa84c00274ced4df.tar.gz
kdepimpi-8e7f4812c4ad239b6a17cce8aa84c00274ced4df.tar.bz2
fix
Diffstat (limited to 'korganizer/koagendaitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koagendaitem.cpp4
1 files changed, 4 insertions, 0 deletions
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 )
421 paint->drawText ( x, yy, w, h, align, mDisplayedText, -1, &dr ); 421 paint->drawText ( x, yy, w, h, align, mDisplayedText, -1, &dr );
422 //qDebug("%d %d %d %d ", x, yy, w, h ); 422 //qDebug("%d %d %d %d ", x, yy, w, h );
423 if ( mIncidence->cancelled() ){ 423 if ( mIncidence->cancelled() ){
424
425
426 small = ( height() < 20 );
427
424 if ( ! small ) { 428 if ( ! small ) {
425 QFontMetrics fm ( paint->font() ); 429 QFontMetrics fm ( paint->font() );
426 paint->drawLine(dr.left(), yy+fm.height()/2, dr.right()-2, yy+fm.height()/2); 430 paint->drawLine(dr.left(), yy+fm.height()/2, dr.right()-2, yy+fm.height()/2);