mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-23 07:03:54 -07:00
Duplicate cards & empty setlist (#3283)
* Card duplicates handled * clangify * kinda works, some cards are still duplicated * separate card entries grouped together * clangify
This commit is contained in:
parent
81803e2612
commit
d36f86c523
5 changed files with 35 additions and 16 deletions
|
|
@ -80,6 +80,11 @@ CardSetPtr CockatriceXml3Parser::internalAddSet(const QString &setName,
|
|||
return newSet;
|
||||
}
|
||||
|
||||
void CockatriceXml3Parser::clearSetlist()
|
||||
{
|
||||
sets.clear();
|
||||
}
|
||||
|
||||
void CockatriceXml3Parser::loadSetsFromXml(QXmlStreamReader &xml)
|
||||
{
|
||||
while (!xml.atEnd()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue