mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
First test for card database: loading and clear
This commit is contained in:
parent
df393638ed
commit
18993b397b
8 changed files with 236 additions and 2 deletions
|
|
@ -1,7 +1,6 @@
|
|||
#include "carddatabase.h"
|
||||
#include "pictureloader.h"
|
||||
#include "settingscache.h"
|
||||
#include "thememanager.h"
|
||||
|
||||
#include <QCryptographicHash>
|
||||
#include <QDebug>
|
||||
|
|
@ -386,6 +385,8 @@ void CardDatabase::clear()
|
|||
delete setIt.value();
|
||||
}
|
||||
sets.clear();
|
||||
|
||||
loadStatus = NotLoaded;
|
||||
}
|
||||
|
||||
void CardDatabase::addCard(CardInfo *card)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue