mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
miscsettings_menu: allow to reset movieplayer plugin
Origin commit data
------------------
Branch: ni/coolstream
Commit: a4bd8cc5a8
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-22 (Mon, 22 Feb 2016)
Origin message was:
------------------
- miscsettings_menu: allow to reset movieplayer plugin
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -375,12 +375,20 @@ int CNVODChangeExec::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
|
||||
int CMoviePluginChangeExec::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
{
|
||||
int sel= atoi(actionKey.c_str());
|
||||
parent->hide();
|
||||
if (sel>=0)
|
||||
if (parent)
|
||||
parent->hide();
|
||||
|
||||
if (actionKey == "---")
|
||||
{
|
||||
g_settings.movieplayer_plugin=g_PluginList->getName(sel);
|
||||
g_settings.movieplayer_plugin = actionKey;
|
||||
}
|
||||
else
|
||||
{
|
||||
int sel = atoi(actionKey.c_str());
|
||||
if (sel >= 0)
|
||||
g_settings.movieplayer_plugin = g_PluginList->getName(sel);
|
||||
}
|
||||
|
||||
return menu_return::RETURN_EXIT;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user