mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-26 16:43:55 -07:00
fix segfault that happens when account tab is closed (#5474)
This commit is contained in:
parent
d09b9eb533
commit
23bd18a04c
19 changed files with 332 additions and 121 deletions
|
|
@ -11,6 +11,7 @@
|
|||
#include <QCompleter>
|
||||
#include <QMap>
|
||||
|
||||
class UserlistProxy;
|
||||
class DeckViewContainer;
|
||||
class AbstractClient;
|
||||
class CardDatabase;
|
||||
|
|
@ -66,6 +67,7 @@ class TabGame : public Tab
|
|||
private:
|
||||
QTimer *gameTimer;
|
||||
int secondsElapsed;
|
||||
UserlistProxy *userListProxy;
|
||||
QList<AbstractClient *> clients;
|
||||
ServerInfo_Game gameInfo;
|
||||
QMap<int, QString> roomGameTypes;
|
||||
|
|
@ -210,6 +212,7 @@ private slots:
|
|||
|
||||
public:
|
||||
TabGame(TabSupervisor *_tabSupervisor,
|
||||
UserlistProxy *_userListProxy,
|
||||
QList<AbstractClient *> &_clients,
|
||||
const Event_GameJoined &event,
|
||||
const QMap<int, QString> &_roomGameTypes);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue