diff options
author | Piplup <100526773+piplup55@users.noreply.github.com> | 2022-11-04 06:30:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 02:30:39 -0400 |
commit | ece22fcbc7f120dd2929c60545b81f0e3211c028 (patch) | |
tree | 9b5da209fca4b3bce04fd95077a4ea121961d743 /src/yuzu/game_list.cpp | |
parent | 38e4382f532d606afbd3969990a9ca3bac70e557 (diff) |
UI: Add options to hide extra columns (#9093)
UI change that allows the user to hide the size and or file types columns
Diffstat (limited to 'src/yuzu/game_list.cpp')
-rw-r--r-- | src/yuzu/game_list.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp index d6adfca16..5c33c1b0f 100644 --- a/src/yuzu/game_list.cpp +++ b/src/yuzu/game_list.cpp @@ -788,6 +788,8 @@ void GameList::PopulateAsync(QVector<UISettings::GameDir>& game_dirs) { // Update the columns in case UISettings has changed tree_view->setColumnHidden(COLUMN_ADD_ONS, !UISettings::values.show_add_ons); tree_view->setColumnHidden(COLUMN_COMPATIBILITY, !UISettings::values.show_compat); + tree_view->setColumnHidden(COLUMN_FILE_TYPE, !UISettings::values.show_types); + tree_view->setColumnHidden(COLUMN_SIZE, !UISettings::values.show_size); // Delete any rows that might already exist if we're repopulating item_model->removeRows(0, item_model->rowCount()); |