mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Origin commit data
------------------
Commit: 2e22dcefea
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-04 (Sun, 04 Dec 2016)
This commit is contained in:
@@ -2164,7 +2164,11 @@ bool CMovieBrowser::onButtonPressMainFrame(neutrino_msg_t msg)
|
||||
onDelete();
|
||||
}
|
||||
}
|
||||
else if (msg == CRCInput::RC_help || msg == CRCInput::RC_info)
|
||||
else if (msg == CRCInput::RC_help)
|
||||
{
|
||||
showHelp();
|
||||
}
|
||||
else if (msg == CRCInput::RC_info)
|
||||
{
|
||||
if (m_movieSelectionHandler != NULL)
|
||||
{
|
||||
@@ -3233,11 +3237,9 @@ void CMovieBrowser::loadAllMovieInfo(void)
|
||||
void CMovieBrowser::showHelp(void)
|
||||
{
|
||||
CMovieHelp help;
|
||||
help.exec(NULL,NULL);
|
||||
help.exec();
|
||||
}
|
||||
|
||||
|
||||
|
||||
#define MAX_STRING 30
|
||||
int CMovieBrowser::showMovieInfoMenu(MI_MOVIE_INFO* movie_info)
|
||||
{
|
||||
@@ -3500,7 +3502,6 @@ bool CMovieBrowser::showMenu(bool calledExternally)
|
||||
|
||||
/********************************************************************/
|
||||
/** main menu ******************************************************/
|
||||
CMovieHelp* movieHelp = new CMovieHelp();
|
||||
CNFSSmallMenu* nfs = new CNFSSmallMenu();
|
||||
|
||||
if (!calledExternally) {
|
||||
@@ -3514,9 +3515,6 @@ bool CMovieBrowser::showMenu(bool calledExternally)
|
||||
mainMenu.addItem(new CMenuForwarder(LOCALE_MOVIEBROWSER_MENU_DIRECTORIES_HEAD, true, NULL, &dirMenu, NULL, CRCInput::RC_2));
|
||||
mainMenu.addItem(new CMenuForwarder(LOCALE_MOVIEBROWSER_SCAN_FOR_MOVIES, true, NULL, this, "reload_movie_info", CRCInput::RC_3));
|
||||
//mainMenu.addItem(new CMenuForwarder(LOCALE_MOVIEBROWSER_MENU_NFS_HEAD, true, NULL, nfs, NULL, CRCInput::RC_setup));
|
||||
mainMenu.addItem(GenericMenuSeparatorLine);
|
||||
mainMenu.addItem(new CMenuForwarder(LOCALE_MOVIEBROWSER_MENU_HELP_HEAD, true, NULL, movieHelp, NULL, CRCInput::RC_help));
|
||||
//mainMenu.addItem(GenericMenuSeparator);
|
||||
|
||||
mainMenu.exec(NULL, " ");
|
||||
} else
|
||||
@@ -3588,7 +3586,6 @@ bool CMovieBrowser::showMenu(bool calledExternally)
|
||||
for (i = 0; i < MB_MAX_DIRS; i++)
|
||||
delete notifier[i];
|
||||
|
||||
delete movieHelp;
|
||||
delete nfs;
|
||||
|
||||
return(true);
|
||||
|
Reference in New Issue
Block a user