Mask set shortcodes for windows illegal filenames

Ref #122
This commit is contained in:
Daenyth 2014-06-24 20:49:03 -04:00
parent e5d9692d78
commit df659e58fe
2 changed files with 20 additions and 7 deletions

View file

@ -26,6 +26,7 @@ private:
unsigned int sortKey;
public:
CardSet(const QString &_shortName = QString(), const QString &_longName = QString());
QString getCorrectedShortName() const;
QString getShortName() const { return shortName; }
QString getLongName() const { return longName; }
int getSortKey() const { return sortKey; }
@ -51,7 +52,7 @@ public:
PictureToLoad(CardInfo *_card = 0, bool _stripped = false, bool _hq = true);
CardInfo *getCard() const { return card; }
bool getStripped() const { return stripped; }
QString getSetName() const { return sortedSets[setIndex]->getShortName(); }
QString getSetName() const { return sortedSets[setIndex]->getCorrectedShortName(); }
bool nextSet();
bool getHq() const { return hq; }
void setHq(bool _hq) { hq = _hq; }