Move UserlistProxy to src/server/user and fix capitalization (#5475)

* move file

* fix capitalization
This commit is contained in:
RickyRister 2025-01-15 05:14:16 -08:00 committed by GitHub
parent 2def02e140
commit 455d68f9ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 34 additions and 33 deletions

View file

@ -285,7 +285,7 @@ void GamesModel::updateGameList(const ServerInfo_Game &game)
endInsertRows();
}
GamesProxyModel::GamesProxyModel(QObject *parent, const UserlistProxy *_userListProxy)
GamesProxyModel::GamesProxyModel(QObject *parent, const UserListProxy *_userListProxy)
: QSortFilterProxyModel(parent), userListProxy(_userListProxy)
{
resetFilterParameters();

View file

@ -11,7 +11,7 @@
#include <QStringList>
#include <QTime>
class UserlistProxy;
class UserListProxy;
class GamesModel : public QAbstractTableModel
{
@ -66,7 +66,7 @@ class GamesProxyModel : public QSortFilterProxyModel
{
Q_OBJECT
private:
const UserlistProxy *userListProxy;
const UserListProxy *userListProxy;
// If adding any additional filters, make sure to update:
// - GamesProxyModel()
@ -88,7 +88,7 @@ private:
showOnlyIfSpectatorsCanSeeHands;
public:
GamesProxyModel(QObject *parent = nullptr, const UserlistProxy *_userListProxy = nullptr);
GamesProxyModel(QObject *parent = nullptr, const UserListProxy *_userListProxy = nullptr);
bool getShowBuddiesOnlyGames() const
{