summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-06-14 18:15:28 (UTC)
committer zautrix <zautrix>2005-06-14 18:15:28 (UTC)
commitd9df54411b01cabaf51fcae62b91f227f7eff5f5 (patch) (side-by-side diff)
tree1b996ed8635d9cb7ecc03d735b46f03048fb4d95
parent05f27a0fe3d9d5455439f0efd683321d8c247482 (diff)
downloadkdepimpi-d9df54411b01cabaf51fcae62b91f227f7eff5f5.zip
kdepimpi-d9df54411b01cabaf51fcae62b91f227f7eff5f5.tar.gz
kdepimpi-d9df54411b01cabaf51fcae62b91f227f7eff5f5.tar.bz2
fix
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/koagendaitem.cpp3
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
@@ -361,33 +361,34 @@ void KOAgendaItem::paintMe( bool selected, QPainter* paint )
static const QPixmap overduePxmp = SmallIcon("redcross16");
if ( mIncidence->typeID() == todoID ) {
Todo* tempTodo = static_cast<Todo*>(mIncidence);
int xx = pos().x()+(width()-completedPxmp.width()-3 );
int yyy = yy+3;
if ( tempTodo->isCompleted() )
paint->drawPixmap ( xx, yyy, completedPxmp );
else {
paint->drawPixmap ( xx, yyy, overduePxmp );
}
}
bool addIcon = false;
if ( ! small || w > 3 * h || h > 3* w )
addIcon = updateIcons( paint, horLayout );
- qDrawShadePanel (paint, x, yy, w, h, mColorGroup, selected , 2, 0);
+ //qDrawShadePanel (paint, x, yy, w, h, mColorGroup, selected , 2, 0);
+ qDrawWinPanel (paint, x, yy, w, h, mColorGroup, selected ,0);
//qDebug("draw rect %d %d %d %d ",x, yy, w, h );
if ( ! small ) {
x += 3; yy += 3;w -= 6; h-= 5;
} else {
x += 2; yy += 1;w -= 4; h-= 4;
if ( nfh < 6.01 ) {
yy -= 2;
h += 4;
}
else
if ( nfh < h -2 )
++yy;
}
int align;
#ifndef DESKTOP_VERSION
align = ( AlignLeft|WordBreak|AlignTop);