mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
Return menu result
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1902 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -138,14 +138,12 @@ int CSettingsManager::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
return res;
|
||||
}
|
||||
|
||||
showMenu();
|
||||
res = showMenu();
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void CSettingsManager::showMenu()
|
||||
int CSettingsManager::showMenu()
|
||||
{
|
||||
printf("[neutrino] CSettingsManager call %s...\n", __FUNCTION__);
|
||||
|
||||
@@ -166,13 +164,10 @@ void CSettingsManager::showMenu()
|
||||
mset->addItem(GenericMenuSeparatorLine);
|
||||
mset->addItem(new CMenuForwarder(LOCALE_RESET_ALL, true, NULL, resetNotifier, "all", CRCInput::RC_standby, NEUTRINO_ICON_BUTTON_POWER));
|
||||
|
||||
mset->exec(NULL, "");
|
||||
int res = mset->exec(NULL, "");
|
||||
mset->hide();
|
||||
selected = mset->getSelected();
|
||||
delete resetNotifier;
|
||||
delete mset;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user