mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-01 00:20:29 -07:00
Threaded picture caching
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
#include "carddatabasemodel.h"
|
||||
#include "decklistmodel.h"
|
||||
#include "cardinfowidget.h"
|
||||
#include "deck_picturecacher.h"
|
||||
#include "dlg_cardsearch.h"
|
||||
#include "dlg_load_deck_from_clipboard.h"
|
||||
#include "main.h"
|
||||
@@ -466,8 +465,8 @@ void WndDeckEditor::setDeck(DeckList *_deck, const QString &_lastFileName, DeckL
|
||||
deckModel->sort(1);
|
||||
deckView->expandAll();
|
||||
setWindowModified(false);
|
||||
|
||||
Deck_PictureCacher::cachePictures(_deck, this);
|
||||
|
||||
db->cacheCardPixmaps(_deck->getCardList());
|
||||
deckView->expandAll();
|
||||
setWindowModified(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user