mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-17 07:22:01 -08:00
Revert "Reimplemented PictureLoader as a singleton"
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
#include "tab_deck_editor.h"
|
||||
#include "window_sets.h"
|
||||
#include "carddatabase.h"
|
||||
#include "pictureloader.h"
|
||||
#include "carddatabasemodel.h"
|
||||
#include "decklistmodel.h"
|
||||
#include "cardinfowidget.h"
|
||||
@@ -1059,7 +1058,7 @@ void TabDeckEditor::setDeck(DeckLoader *_deck)
|
||||
deckView->expandAll();
|
||||
setModified(false);
|
||||
|
||||
PictureLoader::cacheCardPixmaps(db->getCards(deckModel->getDeckList()->getCardList()));
|
||||
db->cacheCardPixmaps(deckModel->getDeckList()->getCardList());
|
||||
deckView->expandAll();
|
||||
setModified(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user