From 3951c815c7a4b4d293f615768d99673352527dad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9nard?= Date: Fri, 9 Jan 2009 17:14:28 +0000 Subject: [PATCH] backport commit 908403 from trunk QImage.fill take a uint not a QColor so this color (Qt::transparent enum with 19 as a value) is invalid. svn path=/branches/KDE/4.2/kdebase/workspace/; revision=908406 --- effects/showfps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/showfps.cpp b/effects/showfps.cpp index 79f9f38787..ba8194ff57 100644 --- a/effects/showfps.cpp +++ b/effects/showfps.cpp @@ -434,7 +434,7 @@ void ShowFpsEffect::paintFPSText(int fps) return; #ifdef KWIN_HAVE_OPENGL_COMPOSITING QImage im(100, 100, QImage::Format_ARGB32); - im.fill(Qt::transparent); + im.fill(0); QPainter painter(&im); painter.setFont(textFont); painter.setPen(textColor);