mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
[GameScene] Don't just sever self connections, sever them all.
Took 21 minutes
This commit is contained in:
parent
dba7cc73a4
commit
b38afe9769
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ GameScene::~GameScene()
|
|||
// members below are destroyed: the base QGraphicsScene destructor destroys the
|
||||
// remaining items, and their destroyed() signals must not reach slots that
|
||||
// reference members that no longer exist.
|
||||
disconnect(this);
|
||||
QObject::disconnect(nullptr, nullptr, this, nullptr);
|
||||
|
||||
delete animationTimer;
|
||||
animationTimer = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue