mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
deck editor and picture file name fixes
This commit is contained in:
parent
0ea8375a2f
commit
e6fc20114e
3 changed files with 8 additions and 7 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue