mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-21 01:42:15 -07:00
Minor Cleanup
This commit is contained in:
parent
aea52a4857
commit
98c37da598
1 changed files with 0 additions and 3 deletions
|
|
@ -65,9 +65,6 @@ CardAmountWidget::CardAmountWidget(QWidget *parent,
|
||||||
// React to model changes
|
// React to model changes
|
||||||
connect(deckModel, &DeckListModel::dataChanged, this, &CardAmountWidget::updateCardCount);
|
connect(deckModel, &DeckListModel::dataChanged, this, &CardAmountWidget::updateCardCount);
|
||||||
connect(deckModel, &QAbstractItemModel::rowsRemoved, this, &CardAmountWidget::updateCardCount);
|
connect(deckModel, &QAbstractItemModel::rowsRemoved, this, &CardAmountWidget::updateCardCount);
|
||||||
|
|
||||||
// Initially hide UI elements
|
|
||||||
fadeAnimation = new QPropertyAnimation(this, "opacity");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CardAmountWidget::paintEvent(QPaintEvent *event)
|
void CardAmountWidget::paintEvent(QPaintEvent *event)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue