mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 16:32:16 -07:00
Lint.
This commit is contained in:
parent
120ced192b
commit
675cf4d2b0
2 changed files with 3 additions and 3 deletions
|
|
@ -33,7 +33,7 @@ public:
|
|||
}
|
||||
public slots:
|
||||
void cardUpdateFinished(int exitCode, QProcess::ExitStatus exitStatus);
|
||||
void closeRequest() override;
|
||||
void closeRequest(bool forced) override;
|
||||
void actOpenLocalDeck(QMouseEvent *event, DeckPreviewWidget *instance);
|
||||
void actDeleteLocalDeck();
|
||||
signals:
|
||||
|
|
|
|||
|
|
@ -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