From 6e56da102a28bd746513ea46f4d8dba3dd3cfd8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Sat, 28 Jun 2008 11:30:52 +0000 Subject: [PATCH] Lame mistake. BUG: 164450 svn path=/trunk/KDE/kdebase/workspace/; revision=825479 --- effects/showpaint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/showpaint.cpp b/effects/showpaint.cpp index 8987022195..7291200bcd 100644 --- a/effects/showpaint.cpp +++ b/effects/showpaint.cpp @@ -96,7 +96,7 @@ void ShowPaintEffect::paintXrender() { #ifdef KWIN_HAVE_XRENDER_COMPOSITING XRenderColor col; - int alpha = 0.2; + float alpha = 0.2; const QColor& color = colors[ color_index ]; col.alpha = int( alpha * 0xffff ); col.red = int( alpha * 0xffff * color.red() / 255 );