From 24c39344e7f426f9e50bb45081c276245f1548a1 Mon Sep 17 00:00:00 2001 From: RickyRister Date: Mon, 20 Jan 2025 00:46:25 -0800 Subject: [PATCH] remove cardZone dtor --- cockatrice/src/game/zones/card_zone.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cockatrice/src/game/zones/card_zone.cpp b/cockatrice/src/game/zones/card_zone.cpp index 893a9b181..8c6ec3d58 100644 --- a/cockatrice/src/game/zones/card_zone.cpp +++ b/cockatrice/src/game/zones/card_zone.cpp @@ -43,12 +43,6 @@ CardZone::CardZone(Player *_p, CardZone::~CardZone() { qCDebug(CardZoneLog) << "CardZone destructor: " << name; - for (auto *view : views) { - if (view != nullptr) { - view->deleteLater(); - } - } - clearContents(); } void CardZone::retranslateUi()