Commit ab11a408 authored by Max-Wilhelm Bruker's avatar Max-Wilhelm Bruker
Browse files

ARM compile fix, reported by Jeff Hoogland

parent 7c2c6eac
...@@ -173,7 +173,7 @@ void CardInfoWidget::resizeEvent(QResizeEvent * /*event*/) ...@@ -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();
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment