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))
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue