Fix mwDeck edition tag parsing on deck load (#3057)

* Update decklist.cpp

Changed parsing code, line 565 and 567
This commit is contained in:
dino572 2018-01-31 23:29:18 +01:00 committed by tooomm
parent d13cf65a10
commit c1bd50f186

View file

@ -562,9 +562,9 @@ bool DeckList::loadFromStream_Plain(QTextStream &in)
} }
// Filter out MWS edition symbols and basic land extras // Filter out MWS edition symbols and basic land extras
QRegExp rx("\\[.*\\]"); QRegExp rx("\\[.*\\]\\s?");
line.remove(rx); line.remove(rx);
rx.setPattern("\\(.*\\)"); rx.setPattern("\\s?\\(.*\\)");
line.remove(rx); line.remove(rx);
// Filter out post card name editions // Filter out post card name editions