From 965e7313007c7c227f9bbe3bffa87f3a45c26c0e Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 19 Mar 2015 12:04:20 +0100 Subject: [PATCH] CChannelList: fix paint of unscaled images Unscaled images were never painted. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/e631559555bd6170bf25b16647b4b6966ba1ce29 Author: Thilo Graf Date: 2015-03-19 (Thu, 19 Mar 2015) ------------------ This commit was generated by Migit --- src/gui/channellist.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 52b64c72c..d08569dc1 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -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;