ARM compile fix, reported by Jeff Hoogland

This commit is contained in:
Max-Wilhelm Bruker 2012-01-15 12:15:20 +01:00
parent 7c2c6eac14
commit ab11a40863

View file

@ -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();
}
}