Commit e0d2b09d authored by Alexis Ménard's avatar Alexis Ménard
Browse files

QImage.fill take a uint not a QColor so this color (Qt::transparent enum with...

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
parent edcd0112
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment