filled titlePix with transparent color before painting pattern, to fix decoration appearance

svn path=/trunk/KDE/kdebase/workspace/; revision=1017015
This commit is contained in:
Hugo Pereira Da Costa 2009-08-29 15:18:22 +00:00
parent 465fd0fbca
commit a0c0e4f085

View file

@ -308,6 +308,8 @@ void KDE2Handler::createPixmaps()
QPainter maskPainter; QPainter maskPainter;
int i, x, y; int i, x, y;
titlePix = new QPixmap(132, normalTitleHeight+2); titlePix = new QPixmap(132, normalTitleHeight+2);
titlePix->fill( Qt::transparent );
QBitmap mask(132, normalTitleHeight+2); QBitmap mask(132, normalTitleHeight+2);
mask.fill(Qt::color0); mask.fill(Qt::color0);