mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Tags in deck editor (#5608)
This commit is contained in:
parent
356b00e8c7
commit
23f4c9c4e4
18 changed files with 359 additions and 61 deletions
|
|
@ -369,7 +369,7 @@ DeckList::DeckList()
|
|||
// TODO: https://qt-project.org/doc/qt-4.8/qobject.html#no-copy-constructor-or-assignment-operator
|
||||
DeckList::DeckList(const DeckList &other)
|
||||
: QObject(), name(other.name), comments(other.comments), bannerCard(other.bannerCard), deckHash(other.deckHash),
|
||||
lastLoadedTimestamp(other.lastLoadedTimestamp)
|
||||
lastLoadedTimestamp(other.lastLoadedTimestamp), tags(other.tags)
|
||||
{
|
||||
root = new InnerDecklistNode(other.getRoot());
|
||||
|
||||
|
|
@ -807,6 +807,7 @@ void DeckList::cleanList()
|
|||
root->clearTree();
|
||||
setName();
|
||||
setComments();
|
||||
setTags();
|
||||
deckHash = QString();
|
||||
emit deckHashChanged();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue