mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
*neutrino multimedia-menu: add singelton,
use singelton for creating or destroying for movieplayer instance git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1066 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -1499,7 +1499,7 @@ bool CNeutrinoApp::showUserMenu(int button)
|
||||
menu_items++;
|
||||
menu_prev = SNeutrinoSettings::ITEM_MOVIEPLAYER_MB;
|
||||
keyhelper.get(&key,&icon,CRCInput::RC_green);
|
||||
menu_item = new CMenuForwarder(LOCALE_MOVIEBROWSER_HEAD, true, NULL, new CMoviePlayerGui(), "tsmoviebrowser", key, icon);
|
||||
menu_item = new CMenuForwarder(LOCALE_MOVIEBROWSER_HEAD, true, NULL, &CMoviePlayerGui::getInstance(), "tsmoviebrowser", key, icon);
|
||||
menu->addItem(menu_item, false);
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user