mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- plugins: simplify integratePlugins(); ...
* CPluginsExec(): switch to singleton * move CPluginsExec() to pluginlist.cpp|h because it's not really a settings_helper
This commit is contained in:
@@ -260,9 +260,8 @@ int CMediaPlayerMenu::initMenuMedia(CMenuWidget *m, CPersonalizeGui *p)
|
||||
personalize->addPersonalizedItems();
|
||||
|
||||
//add I_TYPE_MULTIMEDIA plugins
|
||||
CPluginsExec pluginsExec;
|
||||
unsigned int nextShortcut = (unsigned int)media->getNextShortcut();
|
||||
media->integratePlugins(&pluginsExec, CPlugins::I_TYPE_MULTIMEDIA, nextShortcut);
|
||||
media->integratePlugins(CPlugins::I_TYPE_MULTIMEDIA, nextShortcut);
|
||||
|
||||
res = media->exec(NULL, "");
|
||||
delete media;
|
||||
|
Reference in New Issue
Block a user