Duplicate cards & empty setlist (#3283)

* Card duplicates handled

* clangify

* kinda works, some cards are still duplicated

* separate card entries grouped together

* clangify
This commit is contained in:
David Szabo 2018-06-17 04:42:22 +02:00 committed by Zach H
parent 81803e2612
commit d36f86c523
5 changed files with 35 additions and 16 deletions

View file

@ -335,6 +335,11 @@ public:
// void setLoyalty(int _loyalty) { loyalty = _loyalty; emit cardInfoChanged(smartThis); }
// void setCustomPicURL(const QString &_set, const QString &_customPicURL) { customPicURLs.insert(_set,
// _customPicURL); }
void setSet(const CardSetPtr &_set)
{
sets.append(_set);
refreshCachedSetNames();
}
void setMuId(const QString &_set, const int &_muId)
{
muIds.insert(_set, _muId);