deco is assigned NULL (CID 1247)

svn path=/trunk/KDE/kdebase/workspace/; revision=532152
This commit is contained in:
Stephan Kulow 2006-04-21 11:43:32 +00:00
parent daf4e723ea
commit 5c127f3fe9

View file

@ -891,6 +891,7 @@ void KeramikButton::drawButton( QPainter *p )
} }
p->setPen( Qt::black ); // ### hardcoded color p->setPen( Qt::black ); // ### hardcoded color
if (deco)
p->drawPixmap( (size-17)/2, (size-17)/2, *deco ); p->drawPixmap( (size-17)/2, (size-17)/2, *deco );
} }