Commit 084f3f4c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: use __MIN when applicable

parent 80b848f8
...@@ -235,8 +235,8 @@ void BackgroundWidget::paintEvent( QPaintEvent *e ) ...@@ -235,8 +235,8 @@ void BackgroundWidget::paintEvent( QPaintEvent *e )
QBitmap pMask; QBitmap pMask;
float f_alpha = 1.0; float f_alpha = 1.0;
i_maxwidth = std::min( maximumWidth(), width() ) - MARGIN * 2; i_maxwidth = __MIN( maximumWidth(), width() ) - MARGIN * 2;
i_maxheight = std::min( maximumHeight(), height() ) - MARGIN * 2; i_maxheight = __MIN( maximumHeight(), height() ) - MARGIN * 2;
if ( height() > MARGIN * 2 ) if ( height() > MARGIN * 2 )
{ {
......
Markdown is supported
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