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