summaryrefslogtreecommitdiffabout
path: root/korganizer/koagendaitem.cpp
authorzautrix <zautrix>2005-06-15 09:19:15 (UTC)
committer zautrix <zautrix>2005-06-15 09:19:15 (UTC)
commit37175a31a8fa8772403e9588ff3f8bd7de3979cc (patch) (unidiff)
treed5e7210eaf5c0700e4957b898e01fb0f6dd73711 /korganizer/koagendaitem.cpp
parent820a1285559d0bb5859f634ebc6865f3a85a93ab (diff)
downloadkdepimpi-37175a31a8fa8772403e9588ff3f8bd7de3979cc.zip
kdepimpi-37175a31a8fa8772403e9588ff3f8bd7de3979cc.tar.gz
kdepimpi-37175a31a8fa8772403e9588ff3f8bd7de3979cc.tar.bz2
fix
Diffstat (limited to 'korganizer/koagendaitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koagendaitem.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp
index 1be0aca..e660c32 100644
--- a/korganizer/koagendaitem.cpp
+++ b/korganizer/koagendaitem.cpp
@@ -137,3 +137,3 @@ void KOAgendaItem::init ( Incidence *incidence, QDate qd )
137 setBackgroundColor( mBackgroundColor ); 137 setBackgroundColor( mBackgroundColor );
138 138 mWhiteText = (mBackgroundColor.red() + mBackgroundColor.green() + mBackgroundColor.blue() < 250);
139 mConflictItems.clear(); 139 mConflictItems.clear();
@@ -407,4 +407,3 @@ void KOAgendaItem::paintMe( bool selected, QPainter* paint )
407 } 407 }
408 int colsum = mBackgroundColor.red() + mBackgroundColor.green() + mBackgroundColor.blue(); 408 if ( mWhiteText )
409 if ( colsum < 250 )
410 paint->setPen ( white); 409 paint->setPen ( white);