gui/moviebrowser.cpp: do not paint logo if not present

This commit is contained in:
[CST] Focus
2015-03-07 13:56:45 +03:00
parent 9bd225658f
commit caef89d587

View File

@@ -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);