mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-10-23 16:13:08 -05:00
[GameScene] Don't just sever self connections, sever them all.
Took 21 minutes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user