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…
Reference in a new issue