mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
Return menu result, to close all menus
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1879 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: d4eb80abec
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2011-11-22 (Tue, 22 Nov 2011)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -74,13 +74,13 @@ int CMediaPlayerSetup::exec(CMenuTarget* parent, const std::string & /*actionKey
|
||||
parent->hide();
|
||||
|
||||
|
||||
showMediaPlayerSetup();
|
||||
res = showMediaPlayerSetup();
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
/*shows media setup menue entries*/
|
||||
void CMediaPlayerSetup::showMediaPlayerSetup()
|
||||
int CMediaPlayerSetup::showMediaPlayerSetup()
|
||||
{
|
||||
|
||||
CMenuWidget* mediaSetup = new CMenuWidget(LOCALE_MAINMENU_SETTINGS, NEUTRINO_ICON_SETTINGS, width);
|
||||
@@ -92,9 +92,9 @@ void CMediaPlayerSetup::showMediaPlayerSetup()
|
||||
mediaSetup->addItem(new CMenuForwarder(LOCALE_PICTUREVIEWER_HEAD, true, NULL, new CPictureViewerSetup(), "", CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED));
|
||||
mediaSetup->addItem(new CMenuForwarder(LOCALE_AUDIOPLAYER_NAME, true, NULL, new CAudioPlayerSetup(), "", CRCInput::RC_green, NEUTRINO_ICON_BUTTON_GREEN));
|
||||
|
||||
mediaSetup->exec (NULL, "");
|
||||
int res = mediaSetup->exec (NULL, "");
|
||||
mediaSetup->hide ();
|
||||
selected = mediaSetup->getSelected();
|
||||
delete mediaSetup;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
Reference in New Issue
Block a user