From 4a426d731d06902d3375704d9dae425c2f1e67b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20G=C3=A2teau?= Date: Wed, 26 Jun 2013 10:13:33 +0200 Subject: [PATCH] kwin: Fix build on arm CCMAIL: ubuntu@kitterman.com --- libkwineffects/kwineffects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libkwineffects/kwineffects.cpp b/libkwineffects/kwineffects.cpp index d29c6343d8..3efb07a9a5 100644 --- a/libkwineffects/kwineffects.cpp +++ b/libkwineffects/kwineffects.cpp @@ -332,7 +332,7 @@ qreal WindowPaintData::crossFadeProgress() const 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)