mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
CChannelList: add missing compare for existant header object.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 86c18141dd
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-06 (Sat, 06 May 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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