From e631559555bd6170bf25b16647b4b6966ba1ce29 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. --- 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;