mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
CChannelList: fix paint of unscaled images
Unscaled images were never painted.
Origin commit data
------------------
Branch: ni/coolstream
Commit: e631559555
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-03-19 (Thu, 19 Mar 2015)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user