compile on ARM: qreal is NOT double on ARM
svn path=/trunk/KDE/kdebase/workspace/; revision=904368
This commit is contained in:
parent
071802244d
commit
278f5f726c
1 changed files with 4 additions and 4 deletions
|
@ -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) )
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue