deck editor and picture file name fixes

This commit is contained in:
Max-Wilhelm Bruker 2011-04-18 02:00:48 +02:00
parent 0ea8375a2f
commit e6fc20114e
3 changed files with 8 additions and 7 deletions

View file

@ -298,8 +298,8 @@ QString CardInfo::getMainCardType() const
QString CardInfo::getCorrectedName() const
{
QString result = name;
// Fire // Ice, Circle of Protection: Red
return result.remove(" // ").remove(":");
// Fire // Ice, Circle of Protection: Red, "Ach! Hans, Run!", Who/What/When/Where/Why, Question Elemental?
return result.remove(" // ").remove(':').remove('"').remove('?').replace('/', ' ');
}
void CardInfo::addToSet(CardSet *set)