diff options
author | Malte Jürgens <maltejur@web.de> | 2021-08-01 16:59:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-01 12:59:36 -0400 |
commit | 381aacdbb1a5ecc41c742adf22666de97068d9c6 (patch) | |
tree | 971850662fdf87010a699fad9023e36f1634a665 /src/yuzu/game_list.cpp | |
parent | d20bcb7fafb599891b0729d8231ce8247e0179d3 (diff) |
game_list: Make game list folder icons smaller (#6762)
Makes the default game list folder icons 48x48 by default instead of 64x64, and allows for selecting small (24x24) and large (72x72) icon sizes.
Diffstat (limited to 'src/yuzu/game_list.cpp')
-rw-r--r-- | src/yuzu/game_list.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp index f746bd85d..e97804220 100644 --- a/src/yuzu/game_list.cpp +++ b/src/yuzu/game_list.cpp @@ -244,8 +244,8 @@ void GameList::OnUpdateThemedIcons() { for (int i = 0; i < item_model->invisibleRootItem()->rowCount(); i++) { QStandardItem* child = item_model->invisibleRootItem()->child(i); - const int icon_size = - std::min(static_cast<int>(UISettings::values.icon_size.GetValue()), 64); + const int icon_size = UISettings::values.folder_icon_size.GetValue(); + switch (child->data(GameListItem::TypeRole).value<GameListItemType>()) { case GameListItemType::SdmcDir: child->setData( |