[DeckLoader] Disable copy constructor (#6338)

Took 1 hour 19 minutes

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
BruebachL 2025-11-19 12:16:39 +01:00 committed by GitHub
parent 16392c28c5
commit 8788a7aada
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 10 deletions

View file

@ -265,7 +265,7 @@ void Player::deleteCard(CardItem *card)
void Player::setDeck(const DeckLoader &_deck)
{
deck = new DeckLoader(_deck);
deck = new DeckLoader(this, _deck.getDeckList());
emit deckChanged();
}