mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CComponentsInfoBox: remove unnecessary call for kill()
partial revert of: CComponentsInfoBox: fix centering of image
This commit is contained in:
@@ -96,11 +96,9 @@ void CComponentsInfoBox::paintPicture()
|
||||
{
|
||||
//ensure empty pic object
|
||||
if (pic){
|
||||
if (pic->isPicPainted())
|
||||
pic->kill();
|
||||
delete pic;
|
||||
}
|
||||
pic = NULL;
|
||||
}
|
||||
|
||||
//exit if no image definied
|
||||
if (pic_name.empty())
|
||||
|
Reference in New Issue
Block a user