diff options
| author | Dentomologist <dentomologist@gmail.com> | 2026-03-04 15:24:30 -0800 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2026-03-13 11:26:32 -0700 |
| commit | 7209cf87cb035fa08e06e8705d54a8a8c08c3d03 (patch) | |
| tree | af21340938873b954cbd2186fff5cbcdbb3cd328 /Source/Core/DolphinQt/MenuBar.cpp | |
| parent | 49d5299f1e41930d31cc83dc28c4c583589ff674 (diff) | |
GameList: Add status bar with game count
The status bar shows the number of games in your collection. If any
games are hidden by the platform, region, or search filters it will also
show how many games are visible and how many are filtered.
The visibility of the status bar can be toggled from the menu by
selecting `View`->`Show Game Count`.
Implements https://bugs.dolphin-emu.org/issues/9517.
Diffstat (limited to 'Source/Core/DolphinQt/MenuBar.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/MenuBar.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/MenuBar.cpp b/Source/Core/DolphinQt/MenuBar.cpp index 04c1b3eecd..5015eb5fee 100644 --- a/Source/Core/DolphinQt/MenuBar.cpp +++ b/Source/Core/DolphinQt/MenuBar.cpp @@ -596,6 +596,13 @@ void MenuBar::AddViewMenu() AddShowRegionsMenu(view_menu); view_menu->addSeparator(); + QAction* const show_game_count = view_menu->addAction(tr("Show Game Count")); + show_game_count->setCheckable(true); + show_game_count->setChecked(Settings::Instance().IsGameCountVisible()); + connect(show_game_count, &QAction::toggled, &Settings::Instance(), + &Settings::SetGameCountVisible); + + view_menu->addSeparator(); QAction* const purge_action = view_menu->addAction(tr("Purge Game List Cache"), this, &MenuBar::PurgeGameListCache); purge_action->setEnabled(false); |
