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

Origin commit data
------------------
Branch: ni/coolstream
Commit: caef89d587
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-03-07 (Sat, 07 Mar 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2015-03-07 13:56:45 +03:00
parent 5245911498
commit 71ebf30e32

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