mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-20 01:12:15 -07:00
Lint.
This commit is contained in:
parent
120ced192b
commit
675cf4d2b0
2 changed files with 3 additions and 3 deletions
|
|
@ -432,8 +432,8 @@ bool DeckList::readElement(QXmlStreamReader *xml)
|
|||
bannerCard = QPair<QString, QString>(cardName, providerId);
|
||||
} else if (childName == "tags") {
|
||||
tags.clear(); // Clear existing tags
|
||||
while (!(xml->isEndElement() && xml->name() == "tags")) {
|
||||
if (xml->readNextStartElement() && xml->name() == "tag") {
|
||||
while (!(xml->isEndElement() && childName == "tags")) {
|
||||
if (xml->readNextStartElement() && childName == "tag") {
|
||||
tags.append(xml->readElementText());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue