mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-26 08:33:54 -07:00
ARM compile fix, reported by Jeff Hoogland
This commit is contained in:
parent
7c2c6eac14
commit
ab11a40863
1 changed files with 2 additions and 2 deletions
|
|
@ -173,11 +173,11 @@ void CardInfoWidget::resizeEvent(QResizeEvent * /*event*/)
|
||||||
if ((mode == ModeGameTab) && (minimized == 1))
|
if ((mode == ModeGameTab) && (minimized == 1))
|
||||||
return;
|
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();
|
updatePixmap();
|
||||||
}
|
}
|
||||||
|
|
||||||
QString CardInfoWidget::getCardName() const
|
QString CardInfoWidget::getCardName() const
|
||||||
{
|
{
|
||||||
return nameLabel2->text();
|
return nameLabel2->text();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue