Fix #105 - remove emdash from card type when getting main type

This commit is contained in:
Daenyth 2014-06-21 12:42:46 -04:00
parent c3ad6b1f69
commit 38b83acae0
2 changed files with 4 additions and 2 deletions

View file

@ -295,6 +295,8 @@ QString CardInfo::getMainCardType() const
int pos;
if ((pos = result.indexOf('-')) != -1)
result.remove(pos, result.length());
if ((pos = result.indexOf("")) != -1)
result.remove(pos, result.length());
if ((pos = result.indexOf("//")) != -1)
result.remove(pos, result.length());
result = result.simplified();