Fixed a compile error caused by a call to a deleted function.

This commit is contained in:
Leon Styhre 2020-10-30 13:08:08 +01:00
parent f753fef1c5
commit d9c885baf3

View file

@ -193,7 +193,7 @@ bool ISimpleGameListView::input(InputConfig* config, Input input)
if (getCursor()->getType() == FOLDER && foldersOnTop == true) if (getCursor()->getType() == FOLDER && foldersOnTop == true)
foldersOnTop = !getCursor()->viewHasOnlyFolders(); foldersOnTop = !getCursor()->viewHasOnlyFolders();
if (CollectionSystemManager::get()->getIsCustomCollection(mRoot->getSystem())) if (mRoot->getSystem()->isCustomCollection())
favoritesSorting = Settings::getInstance()->getBool("FavFirstCustom"); favoritesSorting = Settings::getInstance()->getBool("FavFirstCustom");
else else
favoritesSorting = Settings::getInstance()->getBool("FavoritesFirst"); favoritesSorting = Settings::getInstance()->getBool("FavoritesFirst");