mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
src/gui/moviebrowser.cpp m_movieSelectionHandler NULL pointer, try to fix use pointer after delete
This commit is contained in:
@@ -1191,7 +1191,7 @@ int CMovieBrowser::paint(void)
|
|||||||
//CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8, g_Locale->getText(LOCALE_MOVIEBROWSER_HEAD));
|
//CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8, g_Locale->getText(LOCALE_MOVIEBROWSER_HEAD));
|
||||||
|
|
||||||
Font* font = NULL;
|
Font* font = NULL;
|
||||||
|
m_movieSelectionHandler = NULL;
|
||||||
m_pcBrowser = new CListFrame(&m_browserListLines, font, CListFrame::SCROLL | CListFrame::HEADER_LINE,
|
m_pcBrowser = new CListFrame(&m_browserListLines, font, CListFrame::SCROLL | CListFrame::HEADER_LINE,
|
||||||
&m_cBoxFrameBrowserList);
|
&m_cBoxFrameBrowserList);
|
||||||
m_pcLastPlay = new CListFrame(&m_playListLines, font, CListFrame::SCROLL | CListFrame::HEADER_LINE | CListFrame::TITLE,
|
m_pcLastPlay = new CListFrame(&m_playListLines, font, CListFrame::SCROLL | CListFrame::HEADER_LINE | CListFrame::TITLE,
|
||||||
|
Reference in New Issue
Block a user