mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +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()
|
CComponentsHeader* CChannelList::getHeaderObject()
|
||||||
{
|
{
|
||||||
return header;
|
if (header)
|
||||||
|
return header;
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CChannelList::ResetModules()
|
void CChannelList::ResetModules()
|
||||||
{
|
{
|
||||||
delete header;
|
if (header){
|
||||||
header = NULL;
|
delete header;
|
||||||
|
header = NULL;
|
||||||
|
}
|
||||||
if(dline){
|
if(dline){
|
||||||
delete dline;
|
delete dline;
|
||||||
dline = NULL;
|
dline = NULL;
|
||||||
|
Reference in New Issue
Block a user