remove unnecessary dtors

This commit is contained in:
RickyRister 2025-01-20 01:11:40 -08:00
parent 15a501b146
commit 8b995b8114
4 changed files with 0 additions and 12 deletions

View file

@ -40,11 +40,6 @@ CardZone::CardZone(Player *_p,
&CardZone::refreshCardInfos);
}
CardZone::~CardZone()
{
qCDebug(CardZoneLog) << "CardZone destructor: " << name;
}
void CardZone::retranslateUi()
{
for (int i = 0; i < cards.size(); ++i)

View file

@ -67,7 +67,6 @@ public:
bool _contentsKnown,
QGraphicsItem *parent = nullptr,
bool _isView = false);
~CardZone();
void retranslateUi();
void clearContents();
bool getHasCardAttr() const

View file

@ -40,11 +40,6 @@ ZoneViewZone::ZoneViewZone(Player *_p,
}
}
ZoneViewZone::~ZoneViewZone()
{
qDebug("ZoneViewZone destructor");
}
/**
* Deletes this ZoneView and removes it from the origZone's views.
* You should normally call this method instead of deleteLater()

View file

@ -65,7 +65,6 @@ public:
bool _writeableRevealZone = false,
QGraphicsItem *parent = nullptr,
bool _isReversed = false);
~ZoneViewZone();
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
void reorganizeCards();