mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-19 13:23:55 -07:00
Fix crashes trying to load the picture of a card with no <set>
This commit is contained in:
parent
0de0658acd
commit
3bce98e3a9
2 changed files with 35 additions and 13 deletions
|
|
@ -55,7 +55,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]->getCorrectedShortName(); }
|
||||
QString getSetName() const;
|
||||
bool nextSet();
|
||||
bool getHq() const { return hq; }
|
||||
void setHq(bool _hq) { hq = _hq; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue