src/gui/eventlist.cpp use CComponentsChannelLogoScalable

This commit is contained in:
Jacek Jendrzej
2016-02-16 19:47:20 +01:00
parent 2bb2058abe
commit 5100b3d6ae

View File

@@ -866,7 +866,7 @@ void CEventList::paintHead(t_channel_id _channel_id, std::string _channelname, s
int side_width = ((full_width - mid_width) / 2) - (2 * x_off);
//create an logo object
CComponentsChannelLogo* midLogo = new CComponentsChannelLogo(0, 0, _channelname, _channel_id, &header);
CComponentsChannelLogoScalable* midLogo = new CComponentsChannelLogoScalable(0, 0, _channelname, _channel_id, &header);
if (midLogo->hasLogo()) {
//if logo object has found a logo and was ititialized, the hand it's size
int w_logo = midLogo->getWidth();