From e12293bb28def35665237bb5bdd9abcc3bf916ad Mon Sep 17 00:00:00 2001 From: BruebachL <44814898+BruebachL@users.noreply.github.com> Date: Wed, 26 Aug 2026 02:22:57 +0200 Subject: [PATCH] [GameScene] Don't just sever self connections, sever them all. (#7188) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Took 21 minutes Co-authored-by: Lukas BrĂ¼bach --- 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;