mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-26 08:33:54 -07:00
[TabGame] Don't create replay dock if not replay tab (#6527)
* [TabGame] Don't create replay dock if not replay tab * use replayDock to determine if replay tab * null check replayManager in dtor
This commit is contained in:
parent
84483c56d7
commit
c7c7bf550a
2 changed files with 15 additions and 14 deletions
|
|
@ -58,7 +58,7 @@ class TabGame : public Tab
|
|||
private:
|
||||
AbstractGame *game;
|
||||
const UserListProxy *userListProxy;
|
||||
ReplayManager *replayManager;
|
||||
ReplayManager *replayManager = nullptr;
|
||||
QStringList gameTypes;
|
||||
QCompleter *completer;
|
||||
QStringList autocompleteUserList;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue