get UserListProxy from TabSupervisor instead of passing it in the constructor

This commit is contained in:
RickyRister 2025-01-17 00:42:23 -08:00
parent cd373edf3d
commit 463e119dfc
14 changed files with 32 additions and 52 deletions

View file

@ -67,7 +67,7 @@ class TabGame : public Tab
private:
QTimer *gameTimer;
int secondsElapsed;
UserListProxy *userListProxy;
const UserListProxy *userListProxy;
QList<AbstractClient *> clients;
ServerInfo_Game gameInfo;
QMap<int, QString> roomGameTypes;
@ -212,7 +212,6 @@ private slots:
public:
TabGame(TabSupervisor *_tabSupervisor,
UserListProxy *_userListProxy,
QList<AbstractClient *> &_clients,
const Event_GameJoined &event,
const QMap<int, QString> &_roomGameTypes);