First test for card database: loading and clear

This commit is contained in:
Fabio Bas 2016-03-21 00:24:22 +01:00
parent df393638ed
commit 18993b397b
8 changed files with 236 additions and 2 deletions

View file

@ -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)