From e0d2b09d42dfaddafb9bc131870bfe6100a98f62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9nard?= Date: Fri, 9 Jan 2009 17:12:46 +0000 Subject: [PATCH] QImage.fill take a uint not a QColor so this color (Qt::transparent enum with 19 as a value) is invalid. svn path=/trunk/KDE/kdebase/workspace/; revision=908403 --- 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);