Improve sets handling

Move the “check unknown sets” method inside the cards database, so that
it can be executed when the card database gets reloaded after a card
database update.
Additionally, show the user a welcome message the first time they run a
new cockatrice version, so that they know why they get shown the “edit
sets” window and how to hide/disable sets.
This commit is contained in:
Fabio Bas 2015-05-01 18:55:14 +02:00
parent c356a6fc48
commit 66adeb6d75
4 changed files with 59 additions and 35 deletions

View file

@ -113,10 +113,9 @@ public:
bool confirmClose();
public slots:
void closeRequest();
void checkUnknownSets();
void checkFirstRunDetected();
signals:
void deckEditorClosing(TabDeckEditor *tab);
void setListChanged();
};
#endif