Commit 278f5f72 authored by Andreas Hartmetz's avatar Andreas Hartmetz
Browse files

compile on ARM: qreal is NOT double on ARM

svn path=/trunk/KDE/kdebase/workspace/; revision=904368
parent 07180224
......@@ -231,10 +231,10 @@ QRect ShadowEffect::shadowRectangle( EffectWindow* w, const QRect& windowRectang
shadowXOffset + shadowGrow, shadowYOffset + shadowGrow);
}
return windowRectangle.adjusted(
qMin( shadowRect.x(), 0.0 ),
qMin( shadowRect.y(), 0.0 ),
qMax( shadowRect.x() + shadowRect.width() - w->width(), 0.0 ),
qMax( shadowRect.y() + shadowRect.height() - w->height(), 0.0 )
qMin( shadowRect.x(), qreal(0.0) ),
qMin( shadowRect.y(), qreal(0.0) ),
qMax( shadowRect.x() + shadowRect.width() - w->width(), qreal(0.0) ),
qMax( shadowRect.y() + shadowRect.height() - w->height(), qreal(0.0) )
);
}
......
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