mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-20 01:12:15 -07:00
Minor cleanup
This commit is contained in:
parent
4a75eac3d3
commit
0ea29b1eb3
2 changed files with 2 additions and 2 deletions
|
|
@ -332,7 +332,7 @@ static QXmlStreamWriter &operator<<(QXmlStreamWriter &xml, const CardInfoPtr &in
|
|||
// sets
|
||||
const CardInfoPerSetMap sets = info->getSets();
|
||||
for (const auto &cardInfoPerSetList : sets) {
|
||||
for (const CardInfoPerSet& set : cardInfoPerSetList) {
|
||||
for (const CardInfoPerSet &set : cardInfoPerSetList) {
|
||||
xml.writeStartElement("set");
|
||||
xml.writeAttribute("rarity", set.getProperty("rarity"));
|
||||
xml.writeAttribute("muId", set.getProperty("muid"));
|
||||
|
|
|
|||
|
|
@ -287,7 +287,7 @@ static QXmlStreamWriter &operator<<(QXmlStreamWriter &xml, const CardInfoPtr &in
|
|||
for (const auto &cardInfoPerSetList : info->getSets()) {
|
||||
for (const CardInfoPerSet &set : cardInfoPerSetList) {
|
||||
xml.writeStartElement("set");
|
||||
for (const QString& propName : set.getProperties()) {
|
||||
for (const QString &propName : set.getProperties()) {
|
||||
xml.writeAttribute(propName, set.getProperty(propName));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue