mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-29 18:18:51 +01:00
Disabling submenus temporarially to support multi-menu layouts.
This commit is contained in:
parent
4429b1edf5
commit
6ee43b6b86
@ -260,6 +260,8 @@ void RetroFE::Run()
|
||||
CurrentPage->Start();
|
||||
Config.SetCurrentCollection(firstCollection);
|
||||
CollectionInfo *info = GetCollection(firstCollection);
|
||||
MenuParser mp;
|
||||
mp.GetMenuItems(info);
|
||||
CurrentPage->PushCollection(info);
|
||||
}
|
||||
else
|
||||
@ -478,11 +480,9 @@ Page *RetroFE::LoadSplashPage()
|
||||
CollectionInfo *RetroFE::GetCollection(std::string collectionName)
|
||||
{
|
||||
// the page will deallocate this once its done
|
||||
MenuParser mp;
|
||||
|
||||
CollectionInfoBuilder cib(Config, *MetaDb);
|
||||
CollectionInfo *collection = cib.BuildCollection(collectionName);
|
||||
mp.GetMenuItems(collection);
|
||||
|
||||
if(collection->GetItems()->size() == 0)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user