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
This commit is contained in:
parent
edcd0112fa
commit
e0d2b09d42
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue