diff --git a/cockatrice/src/carddatabase.cpp b/cockatrice/src/carddatabase.cpp index 8b6da7e0..0a4cd876 100644 --- a/cockatrice/src/carddatabase.cpp +++ b/cockatrice/src/carddatabase.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include @@ -657,11 +656,7 @@ void CardInfo::getPixmap(QSize size, QPixmap &pixmap) loadPixmap(bigPixmap); if (bigPixmap.isNull()) { if (getName().isEmpty()) { - QSvgRenderer svg(QString("theme:back.svg")); - bigPixmap = QPixmap(svg.defaultSize()); - bigPixmap.fill(Qt::transparent); - QPainter painter(&bigPixmap); - svg.render(&painter); + pixmap = themeManager->getCardBackPixmap(); } else { pixmap = QPixmap(); // null return;