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
ab11a408
Commit
ab11a408
authored
Jan 15, 2012
by
Max-Wilhelm Bruker
Browse files
ARM compile fix, reported by Jeff Hoogland
parent
7c2c6eac
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/cardinfowidget.cpp
View file @
ab11a408
...
...
@@ -173,11 +173,11 @@ void CardInfoWidget::resizeEvent(QResizeEvent * /*event*/)
if
((
mode
==
ModeGameTab
)
&&
(
minimized
==
1
))
return
;
pixmapWidth
=
qMax
(
100.0
,
qMin
((
qreal
)
cardPicture
->
width
(),
(
height
()
-
cardHeightOffset
)
/
aspectRatio
));
pixmapWidth
=
qMax
(
(
qreal
)
100.0
,
qMin
((
qreal
)
cardPicture
->
width
(),
(
qreal
)
(
(
height
()
-
cardHeightOffset
)
/
aspectRatio
))
)
;
updatePixmap
();
}
QString
CardInfoWidget
::
getCardName
()
const
{
return
nameLabel2
->
text
();
}
\ No newline at end of file
}
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