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

ARM compile fix, reported by Jeff Hoogland

parent 7c2c6eac
...@@ -173,11 +173,11 @@ void CardInfoWidget::resizeEvent(QResizeEvent * /*event*/) ...@@ -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();
} }
\ No newline at end of file
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