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:
2015-03-19 12:04:20 +01:00
parent 3322a8e707
commit 965e731300

View File

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