author | zautrix <zautrix> | 2005-06-14 18:15:28 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-14 18:15:28 (UTC) |
commit | d9df54411b01cabaf51fcae62b91f227f7eff5f5 (patch) (unidiff) | |
tree | 1b996ed8635d9cb7ecc03d735b46f03048fb4d95 | |
parent | 05f27a0fe3d9d5455439f0efd683321d8c247482 (diff) | |
download | kdepimpi-d9df54411b01cabaf51fcae62b91f227f7eff5f5.zip kdepimpi-d9df54411b01cabaf51fcae62b91f227f7eff5f5.tar.gz kdepimpi-d9df54411b01cabaf51fcae62b91f227f7eff5f5.tar.bz2 |
fix
-rw-r--r-- | korganizer/koagendaitem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp index c7bc6eb..1be0aca 100644 --- a/korganizer/koagendaitem.cpp +++ b/korganizer/koagendaitem.cpp | |||
@@ -365,25 +365,26 @@ void KOAgendaItem::paintMe( bool selected, QPainter* paint ) | |||
365 | int yyy = yy+3; | 365 | int yyy = yy+3; |
366 | if ( tempTodo->isCompleted() ) | 366 | if ( tempTodo->isCompleted() ) |
367 | paint->drawPixmap ( xx, yyy, completedPxmp ); | 367 | paint->drawPixmap ( xx, yyy, completedPxmp ); |
368 | else { | 368 | else { |
369 | paint->drawPixmap ( xx, yyy, overduePxmp ); | 369 | paint->drawPixmap ( xx, yyy, overduePxmp ); |
370 | 370 | ||
371 | } | 371 | } |
372 | } | 372 | } |
373 | bool addIcon = false; | 373 | bool addIcon = false; |
374 | if ( ! small || w > 3 * h || h > 3* w ) | 374 | if ( ! small || w > 3 * h || h > 3* w ) |
375 | addIcon = updateIcons( paint, horLayout ); | 375 | addIcon = updateIcons( paint, horLayout ); |
376 | 376 | ||
377 | qDrawShadePanel (paint, x, yy, w, h, mColorGroup, selected , 2, 0); | 377 | //qDrawShadePanel (paint, x, yy, w, h, mColorGroup, selected , 2, 0); |
378 | qDrawWinPanel (paint, x, yy, w, h, mColorGroup, selected ,0); | ||
378 | //qDebug("draw rect %d %d %d %d ",x, yy, w, h ); | 379 | //qDebug("draw rect %d %d %d %d ",x, yy, w, h ); |
379 | if ( ! small ) { | 380 | if ( ! small ) { |
380 | x += 3; yy += 3;w -= 6; h-= 5; | 381 | x += 3; yy += 3;w -= 6; h-= 5; |
381 | } else { | 382 | } else { |
382 | x += 2; yy += 1;w -= 4; h-= 4; | 383 | x += 2; yy += 1;w -= 4; h-= 4; |
383 | if ( nfh < 6.01 ) { | 384 | if ( nfh < 6.01 ) { |
384 | yy -= 2; | 385 | yy -= 2; |
385 | h += 4; | 386 | h += 4; |
386 | } | 387 | } |
387 | else | 388 | else |
388 | if ( nfh < h -2 ) | 389 | if ( nfh < h -2 ) |
389 | ++yy; | 390 | ++yy; |