yuzu/game_list: Silence -Wswitch
Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc>
This commit is contained in:
parent
5d1d0b3693
commit
5e98835b5f
2 changed files with 12 additions and 3 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue