From b38afe97698d4370ddee8a77ffff43155928cb1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Br=C3=BCbach?= Date: Tue, 25 Aug 2026 19:50:32 +0200 Subject: [PATCH] [GameScene] Don't just sever self connections, sever them all. Took 21 minutes --- cockatrice/src/game_graphics/game_scene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/game_graphics/game_scene.cpp b/cockatrice/src/game_graphics/game_scene.cpp index cd2b12828..87af4c73c 100644 --- a/cockatrice/src/game_graphics/game_scene.cpp +++ b/cockatrice/src/game_graphics/game_scene.cpp @@ -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;