kwin: Fix build on arm

CCMAIL: ubuntu@kitterman.com
This commit is contained in:
Aurélien Gâteau 2013-06-26 10:13:33 +02:00
parent 10f7f12820
commit 4a426d731d

View file

@ -332,7 +332,7 @@ qreal WindowPaintData::crossFadeProgress() const
void WindowPaintData::setCrossFadeProgress(qreal factor) void WindowPaintData::setCrossFadeProgress(qreal factor)
{ {
d->crossFadeProgress = qBound(0.0, factor, 1.0); d->crossFadeProgress = qBound(qreal(0.0), factor, qreal(1.0));
} }
qreal WindowPaintData::multiplyDecorationOpacity(qreal factor) qreal WindowPaintData::multiplyDecorationOpacity(qreal factor)