mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 18: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
|
|
@ -9,6 +9,8 @@
|
|||
#include <QKeyEvent>
|
||||
#include <QMap>
|
||||
|
||||
class UserlistProxy;
|
||||
class UserListManager;
|
||||
namespace google
|
||||
{
|
||||
namespace protobuf
|
||||
|
|
@ -49,6 +51,7 @@ private:
|
|||
|
||||
GameSelector *gameSelector;
|
||||
UserListWidget *userList;
|
||||
const UserlistProxy *userListProxy;
|
||||
ChatView *chatView;
|
||||
QLabel *sayLabel;
|
||||
LineEditCompleter *sayEdit;
|
||||
|
|
@ -89,6 +92,7 @@ public:
|
|||
TabRoom(TabSupervisor *_tabSupervisor,
|
||||
AbstractClient *_client,
|
||||
ServerInfo_User *_ownUser,
|
||||
const UserlistProxy *_userListProxy,
|
||||
const ServerInfo_Room &info);
|
||||
void retranslateUi() override;
|
||||
void closeRequest(bool forced = false) override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue