deco is assigned NULL (CID 1247)
svn path=/trunk/KDE/kdebase/workspace/; revision=532152
This commit is contained in:
parent
daf4e723ea
commit
5c127f3fe9
1 changed files with 2 additions and 1 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue