From 71ebf30e32bc98dcb37ed0f4fff2b1074b507878 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Sat, 7 Mar 2015 13:56:45 +0300 Subject: [PATCH] gui/moviebrowser.cpp: do not paint logo if not present Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/caef89d5872b343d65434f459fe27b7f8063a768 Author: [CST] Focus Date: 2015-03-07 (Sat, 07 Mar 2015) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/moviebrowser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/moviebrowser.cpp b/src/gui/moviebrowser.cpp index 11c6f2208..15e2777e9 100644 --- a/src/gui/moviebrowser.cpp +++ b/src/gui/moviebrowser.cpp @@ -1264,7 +1264,7 @@ void CMovieBrowser::refreshMovieInfo(void) old_EpgId = m_movieSelectionHandler->epgEpgId >>16; } - if (CChannelLogo) { + if (CChannelLogo && CChannelLogo->hasLogo()) { lx = m_cBoxFrame.iX+m_cBoxFrameTitleRel.iX+m_cBoxFrameTitleRel.iWidth-CChannelLogo->getWidth()-10; ly = m_cBoxFrameTitleRel.iY+m_cBoxFrame.iY+ (m_cBoxFrameTitleRel.iHeight-CChannelLogo->getHeight())/2; CChannelLogo->setXPos(lx - pb_hdd_offset);