CComponentsInfoBox: remove unnecessary call for kill()

partial revert of:  CComponentsInfoBox: fix centering of image
This commit is contained in:
2015-01-25 15:31:22 +01:00
parent 012c699951
commit 592b0025d9

View File

@@ -96,11 +96,9 @@ void CComponentsInfoBox::paintPicture()
{
//ensure empty pic object
if (pic){
if (pic->isPicPainted())
pic->kill();
delete pic;
pic = NULL;
}
pic = NULL;
//exit if no image definied
if (pic_name.empty())