mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 11:03:54 -07:00
crash fix
This commit is contained in:
parent
ae41194e4b
commit
50ae101fd7
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ void AbstractCardItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *
|
||||||
colorStr = color;
|
colorStr = color;
|
||||||
else if (info->getColors().size() > 1)
|
else if (info->getColors().size() > 1)
|
||||||
colorStr = "m";
|
colorStr = "m";
|
||||||
else
|
else if (!info->getColors().isEmpty())
|
||||||
colorStr = info->getColors().first().toLower();
|
colorStr = info->getColors().first().toLower();
|
||||||
|
|
||||||
QColor bgColor;
|
QColor bgColor;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue