Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
50ae101f
Commit
50ae101f
authored
Jun 19, 2010
by
Max-Wilhelm Bruker
Browse files
crash fix
parent
ae41194e
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/abstractcarditem.cpp
View file @
50ae101f
...
@@ -60,7 +60,7 @@ void AbstractCardItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment