mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-03-18 11:23:38 +00:00
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.
16 lines
299 B
C++
16 lines
299 B
C++
// Copyright 2026 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <QStatusBar>
|
|
|
|
class GameCount : public QStatusBar
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit GameCount(QWidget* parent = nullptr);
|
|
|
|
void OnGameCountUpdated(int total_games, int visible_games);
|
|
};
|