mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
neutrino.cpp: action reloadplugins, implement ShowHintS
This commit is contained in:
@@ -5408,6 +5408,8 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey)
|
|||||||
setupRecordingDevice();
|
setupRecordingDevice();
|
||||||
}
|
}
|
||||||
else if (actionKey=="reloadplugins") {
|
else if (actionKey=="reloadplugins") {
|
||||||
|
ShowHintS(LOCALE_SERVICEMENU_GETPLUGINS_HINT, sigc::mem_fun(g_Plugins, &CPlugins::loadPlugins),1);
|
||||||
|
#if 0
|
||||||
CHint *hint = new CHint(LOCALE_SERVICEMENU_GETPLUGINS_HINT);
|
CHint *hint = new CHint(LOCALE_SERVICEMENU_GETPLUGINS_HINT);
|
||||||
hint->setDelay(1);
|
hint->setDelay(1);
|
||||||
hint->paint();
|
hint->paint();
|
||||||
@@ -5415,6 +5417,7 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey)
|
|||||||
g_Plugins->loadPlugins();
|
g_Plugins->loadPlugins();
|
||||||
|
|
||||||
delete hint;
|
delete hint;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#if 0
|
#if 0
|
||||||
else if (actionKey=="restarttuner")
|
else if (actionKey=="restarttuner")
|
||||||
|
Reference in New Issue
Block a user