yuzu/game_list: Silence -Wswitch

Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc>
This commit is contained in:
FearlessTobi 2019-11-02 18:56:23 +01:00
parent 5d1d0b3693
commit 5e98835b5f
2 changed files with 12 additions and 3 deletions

View file

@ -258,6 +258,8 @@ void GameList::onUpdateThemedIcons() {
case GameListItemType::AddDir:
child->setData(QIcon::fromTheme("plus").pixmap(48), Qt::DecorationRole);
break;
default:
break;
}
}
}
@ -371,6 +373,8 @@ void GameList::ValidateEntry(const QModelIndex& item) {
case GameListItemType::AddDir:
emit AddDirectory();
break;
default:
break;
}
}
@ -442,6 +446,8 @@ void GameList::PopupContextMenu(const QPoint& menu_location) {
case GameListItemType::SystemDir:
AddPermDirPopup(context_menu, selected);
break;
default:
break;
}
context_menu.exec(tree_view->viewport()->mapToGlobal(menu_location));
}