summaryrefslogtreecommitdiffabout
path: root/korganizer/koagendaitem.cpp
authorzautrix <zautrix>2005-03-23 13:55:05 (UTC)
committer zautrix <zautrix>2005-03-23 13:55:05 (UTC)
commit53ba86911c8d22d2ca14ac19da85a728de710642 (patch) (side-by-side diff)
tree429910d6955c629fc921e9a3bd537ec90d2378b7 /korganizer/koagendaitem.cpp
parent913291ec9784520cc6ff9769081c03bd74a5ab07 (diff)
downloadkdepimpi-53ba86911c8d22d2ca14ac19da85a728de710642.zip
kdepimpi-53ba86911c8d22d2ca14ac19da85a728de710642.tar.gz
kdepimpi-53ba86911c8d22d2ca14ac19da85a728de710642.tar.bz2
layout fixes
Diffstat (limited to 'korganizer/koagendaitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koagendaitem.cpp8
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 )
rw = rw + xx;
rx -= xx;
xx = 0;
- if ( rw < 0 ) {
- qDebug("KOAgendaItem::Width1 < 0. Returning ");
+ if ( rw <= 1 ) {
+ qDebug("KOAgendaItem::Width1 <= 1 (%d). Returning. %s",rw,mDisplayedText.latin1());
return;
}
}
if ( paintFrom->width() < xx+rw ) {
rw = paintFrom->width() - xx;
- if ( rw < 0 ) {
- qDebug("KOAgendaItem::Width2 < 0. Returning ");
+ if ( rw <= 1 ) {
+ qDebug("KOAgendaItem::Width2 <= 1 (%d). Returning.%s ",rw,mDisplayedText.latin1() );
return;
}
}