mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
remove unnecessary dtors
This commit is contained in:
parent
15a501b146
commit
8b995b8114
4 changed files with 0 additions and 12 deletions
|
|
@ -40,11 +40,6 @@ CardZone::CardZone(Player *_p,
|
||||||
&CardZone::refreshCardInfos);
|
&CardZone::refreshCardInfos);
|
||||||
}
|
}
|
||||||
|
|
||||||
CardZone::~CardZone()
|
|
||||||
{
|
|
||||||
qCDebug(CardZoneLog) << "CardZone destructor: " << name;
|
|
||||||
}
|
|
||||||
|
|
||||||
void CardZone::retranslateUi()
|
void CardZone::retranslateUi()
|
||||||
{
|
{
|
||||||
for (int i = 0; i < cards.size(); ++i)
|
for (int i = 0; i < cards.size(); ++i)
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,6 @@ public:
|
||||||
bool _contentsKnown,
|
bool _contentsKnown,
|
||||||
QGraphicsItem *parent = nullptr,
|
QGraphicsItem *parent = nullptr,
|
||||||
bool _isView = false);
|
bool _isView = false);
|
||||||
~CardZone();
|
|
||||||
void retranslateUi();
|
void retranslateUi();
|
||||||
void clearContents();
|
void clearContents();
|
||||||
bool getHasCardAttr() const
|
bool getHasCardAttr() const
|
||||||
|
|
|
||||||
|
|
@ -40,11 +40,6 @@ ZoneViewZone::ZoneViewZone(Player *_p,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ZoneViewZone::~ZoneViewZone()
|
|
||||||
{
|
|
||||||
qDebug("ZoneViewZone destructor");
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Deletes this ZoneView and removes it from the origZone's views.
|
* Deletes this ZoneView and removes it from the origZone's views.
|
||||||
* You should normally call this method instead of deleteLater()
|
* You should normally call this method instead of deleteLater()
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,6 @@ public:
|
||||||
bool _writeableRevealZone = false,
|
bool _writeableRevealZone = false,
|
||||||
QGraphicsItem *parent = nullptr,
|
QGraphicsItem *parent = nullptr,
|
||||||
bool _isReversed = false);
|
bool _isReversed = false);
|
||||||
~ZoneViewZone();
|
|
||||||
QRectF boundingRect() const;
|
QRectF boundingRect() const;
|
||||||
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
|
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
|
||||||
void reorganizeCards();
|
void reorganizeCards();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue