mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
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:
@@ -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())
|
||||
|
Reference in New Issue
Block a user