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,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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue