[DeckList] Disable copy constructor

Took 1 hour 44 minutes

Took 1 minute

# Commit time for manual adjustment:
# Took 28 seconds


Took 33 seconds
This commit is contained in:
Lukas Brübach 2025-11-19 13:22:09 +01:00
parent 8788a7aada
commit 9260bebd1c
21 changed files with 162 additions and 105 deletions

View file

@ -533,14 +533,14 @@ void DeckListModel::cleanList()
}
/**
* @param _deck The deck. Takes ownership of the object
* @param _deck The deck.
*/
void DeckListModel::setDeckList(DeckList *_deck)
{
deckList->deleteLater();
deckList = _deck;
deckList->setParent(this);
rebuildTree();
if (deckList != _deck) {
deckList = _deck;
rebuildTree();
}
}
QList<ExactCard> DeckListModel::getCards() const