mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
CMovieBrowser: avoid multiple slot connections
Do connect only to empty signal.
This commit is contained in:
@@ -1408,7 +1408,8 @@ void CMovieBrowser::refreshMovieInfo(void)
|
||||
flogo_w = pic->getWidth();
|
||||
pic->setXPos(m_cBoxFrameInfo.iX+m_cBoxFrameInfo.iWidth - flogo_w -12);
|
||||
if (!m_movieSelectionHandler->epgInfo2.empty())
|
||||
m_pcInfo->OnAfterScrollPage.connect(sigc::mem_fun(pic, &CComponentsPicture::paint0));
|
||||
if (m_pcInfo->OnAfterScrollPage.empty())
|
||||
m_pcInfo->OnAfterScrollPage.connect(sigc::mem_fun(pic, &CComponentsPicture::paint0));
|
||||
}else{
|
||||
delete pic;
|
||||
pic = NULL;
|
||||
|
Reference in New Issue
Block a user