author | zautrix <zautrix> | 2005-03-23 13:55:05 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-23 13:55:05 (UTC) |
commit | 53ba86911c8d22d2ca14ac19da85a728de710642 (patch) (unidiff) | |
tree | 429910d6955c629fc921e9a3bd537ec90d2378b7 /korganizer/koagendaitem.cpp | |
parent | 913291ec9784520cc6ff9769081c03bd74a5ab07 (diff) | |
download | kdepimpi-53ba86911c8d22d2ca14ac19da85a728de710642.zip kdepimpi-53ba86911c8d22d2ca14ac19da85a728de710642.tar.gz kdepimpi-53ba86911c8d22d2ca14ac19da85a728de710642.tar.bz2 |
layout fixes
-rw-r--r-- | korganizer/koagendaitem.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp index 7e6fa48..82d1eab 100644 --- a/korganizer/koagendaitem.cpp +++ b/korganizer/koagendaitem.cpp | |||
@@ -504,15 +504,15 @@ void KOAgendaItem::paintEvent ( QPaintEvent *e ) | |||
504 | rw = rw + xx; | 504 | rw = rw + xx; |
505 | rx -= xx; | 505 | rx -= xx; |
506 | xx = 0; | 506 | xx = 0; |
507 | if ( rw < 0 ) { | 507 | if ( rw <= 1 ) { |
508 | qDebug("KOAgendaItem::Width1 < 0. Returning "); | 508 | qDebug("KOAgendaItem::Width1 <= 1 (%d). Returning. %s",rw,mDisplayedText.latin1()); |
509 | return; | 509 | return; |
510 | } | 510 | } |
511 | } | 511 | } |
512 | if ( paintFrom->width() < xx+rw ) { | 512 | if ( paintFrom->width() < xx+rw ) { |
513 | rw = paintFrom->width() - xx; | 513 | rw = paintFrom->width() - xx; |
514 | if ( rw < 0 ) { | 514 | if ( rw <= 1 ) { |
515 | qDebug("KOAgendaItem::Width2 < 0. Returning "); | 515 | qDebug("KOAgendaItem::Width2 <= 1 (%d). Returning.%s ",rw,mDisplayedText.latin1() ); |
516 | return; | 516 | return; |
517 | } | 517 | } |
518 | } | 518 | } |