mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-26 00:23:55 -07:00
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:
parent
81803e2612
commit
d36f86c523
5 changed files with 35 additions and 16 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue