mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-25 08:03:54 -07:00
Implemented proposed changes
This commit is contained in:
parent
4d7795ca3a
commit
e721280bc0
2 changed files with 73 additions and 57 deletions
|
|
@ -14,7 +14,7 @@ class QThread;
|
|||
|
||||
class PictureToLoad {
|
||||
private:
|
||||
class EnabledAndKeyCompareFunctor;
|
||||
class SetDownloadPriorityComparator;
|
||||
|
||||
CardInfo *card;
|
||||
QList<CardSet *> sortedSets;
|
||||
|
|
@ -57,6 +57,8 @@ private:
|
|||
void startNextPicDownload();
|
||||
void imageLoaded(CardInfo *card, const QImage &image);
|
||||
QString getPicUrl();
|
||||
bool cardImageExistsOnDisk(QString & setName, QString & correctedCardname);
|
||||
bool imageIsBlackListed(const QByteArray &picData);
|
||||
public:
|
||||
void enqueueImageLoad(CardInfo *card);
|
||||
static void getPixmap(QPixmap &pixmap, CardInfo *card, QSize size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue