CChannelList: fix paint of unscaled images

Unscaled images were never painted.
This commit is contained in:
2015-03-19 12:04:20 +01:00
parent 459c120060
commit e631559555

View File

@@ -1672,10 +1672,10 @@ void CChannelList::showChannelLogo()
CChannelLogo->setHeight(theight);
int w_logo = h_ratio*CChannelLogo->getWidth()/100;
CChannelLogo->setWidth(min(w_logo, logo_w_max));
CChannelLogo->setXPos(x + full_width - logo_off - CChannelLogo->getWidth());
CChannelLogo->setYPos(y + (theight - CChannelLogo->getHeight()) / 2);
CChannelLogo->paint();
}
CChannelLogo->setXPos(x + full_width - logo_off - CChannelLogo->getWidth());
CChannelLogo->setYPos(y + (theight - CChannelLogo->getHeight()) / 2);
CChannelLogo->paint();
} else {
delete CChannelLogo;
CChannelLogo = NULL;