compile on ARM: qreal is NOT double on ARM

svn path=/trunk/KDE/kdebase/workspace/; revision=904368
This commit is contained in:
Andreas Hartmetz 2009-01-02 02:08:35 +00:00
parent 071802244d
commit 278f5f726c

View file

@ -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) )
);
}