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