mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -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
|
|
@ -45,7 +45,7 @@ ChatView::ChatView(TabSupervisor *_tabSupervisor,
|
|||
linkColor = palette().link().color();
|
||||
}
|
||||
|
||||
userContextMenu = new UserContextMenu(tabSupervisor, this, game);
|
||||
userContextMenu = new UserContextMenu(tabSupervisor, userlistProxy, this, game);
|
||||
connect(userContextMenu, SIGNAL(openMessageDialog(QString, bool)), this, SIGNAL(openMessageDialog(QString, bool)));
|
||||
|
||||
ownUserName = userlistProxy->getOwnUsername();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue