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 | 210d5d29edb5a3ae289b42e2db33a2e413fe64f9 (patch) | |
| tree | 9b5da209fca4b3bce04fd95077a4ea121961d743 /src/yuzu/game_list.cpp | |
| parent | 7c3bee5601fd87bda663f85d0ea74e6e408ff1ca (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 d6adfca16a..5c33c1b0f3 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()); |
