Tags in deck editor (#5608)

This commit is contained in:
BruebachL
2025-02-12 04:18:00 +01:00
committed by GitHub
parent 356b00e8c7
commit 23f4c9c4e4
18 changed files with 359 additions and 61 deletions

View File

@@ -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();
}