plugin integration main menu added

This commit is contained in:
BPanther
2018-09-03 22:43:52 +02:00
committed by Thilo Graf
parent db3b0cfeed
commit 411c650809
2 changed files with 5 additions and 2 deletions

View File

@@ -120,6 +120,11 @@ void CNeutrinoApp::InitMenu()
CMenuWidget &menuService = personalize.getWidget(MENU_SERVICE);
nextShortcut = (unsigned int)menuService.getNextShortcut();
menuService.integratePlugins(PLUGIN_INTEGRATION_SERVICE, nextShortcut);
//add PLUGIN_INTEGRATION_MAIN plugins
CMenuWidget &menuMain = personalize.getWidget(MENU_MAIN);
nextShortcut = (unsigned int)menuMain.getNextShortcut();
menuMain.integratePlugins(PLUGIN_INTEGRATION_MAIN, nextShortcut);
}
//init main menu