mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 17:44:01 -07:00
Merge branch 'master' into 6269/ci/strip-fat-bins
This commit is contained in:
commit
1f37a2d07e
1 changed files with 2 additions and 0 deletions
|
|
@ -21,6 +21,8 @@ void TabbedDeckViewContainer::addOpponentDeckView(const DeckList &opponentDeck,
|
||||||
opponentDeckViews[opponentId]->setDeck(opponentDeck);
|
opponentDeckViews[opponentId]->setDeck(opponentDeck);
|
||||||
} else {
|
} else {
|
||||||
auto *opponentDeckView = new DeckView(this);
|
auto *opponentDeckView = new DeckView(this);
|
||||||
|
connect(opponentDeckView, &DeckView::newCardAdded, playerDeckView, &DeckViewContainer::newCardAdded);
|
||||||
|
|
||||||
opponentDeckView->setDeck(opponentDeck);
|
opponentDeckView->setDeck(opponentDeck);
|
||||||
|
|
||||||
addTab(opponentDeckView, QString("%1's Deck").arg(opponentName));
|
addTab(opponentDeckView, QString("%1's Deck").arg(opponentName));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue