some inits

Origin commit data
------------------
Branch: ni/coolstream
Commit: 0056a53321
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-01-30 (Mon, 30 Jan 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2017-01-30 19:04:17 +01:00
parent d58f68cf69
commit bc8d25553f
3 changed files with 3 additions and 1 deletions

View File

@@ -2399,6 +2399,7 @@ void CChannelList::paint_events(CChannelEventList &evtlist)
evt.description = g_Locale->getText(LOCALE_EPGLIST_NOEVENTS);
evt.eventID = 0;
evt.startTime = 0;
evt.duration = 0;
evtlist.push_back(evt);
}

View File

@@ -387,6 +387,7 @@ CComponentsChannelLogo::CComponentsChannelLogo( const int &x_pos, const int &y_p
void CComponentsChannelLogo::init(const uint64_t& channelId, const std::string& channelName, bool allow_scale)
{
channel_name = "";
channel_id = 0;
alt_pic_name = "";
setChannel(channelId, channelName);
do_scale = allow_scale;

View File

@@ -217,7 +217,7 @@ CProgressBarCache *CProgressBarCache::pbcLookup(int dy, int dx, int active_col,
if (it != pbCache.end())
return *it;
CProgressBarCache *pbc = new CProgressBarCache(dy, dx, active_col, passive_col, design, enable_invert, enable_gradient, R, G, Y);
static CProgressBarCache *pbc = new CProgressBarCache(dy, dx, active_col, passive_col, design, enable_invert, enable_gradient, R, G, Y);
pbCache.push_back(pbc);
return pbc;
}