mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CChannelList: add missing compare for existant header object.
This commit is contained in:
@@ -2158,13 +2158,17 @@ void CChannelList::paintHead()
|
||||
|
||||
CComponentsHeader* CChannelList::getHeaderObject()
|
||||
{
|
||||
return header;
|
||||
if (header)
|
||||
return header;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void CChannelList::ResetModules()
|
||||
{
|
||||
delete header;
|
||||
header = NULL;
|
||||
if (header){
|
||||
delete header;
|
||||
header = NULL;
|
||||
}
|
||||
if(dline){
|
||||
delete dline;
|
||||
dline = NULL;
|
||||
|
Reference in New Issue
Block a user