CComponentsInfoBox: remove unnecessary call for kill()

partial revert of: CComponentsInfoBox: fix centering of image


Origin commit data
------------------
Branch: ni/coolstream
Commit: 592b0025d9
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-25 (Sun, 25 Jan 2015)

Origin message was:
------------------
CComponentsInfoBox: remove unnecessary call for kill()

partial revert of: CComponentsInfoBox: fix centering of image


------------------
This commit was generated by Migit
This commit is contained in:
2015-01-25 15:31:22 +01:00
parent f61187c9d5
commit d5c0951d0b

View File

@@ -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())