filled titlePix with transparent color before painting pattern, to fix title-bar appearance

svn path=/trunk/KDE/kdebase/workspace/; revision=1017016
This commit is contained in:
Hugo Pereira Da Costa 2009-08-29 15:21:33 +00:00
parent a0c0e4f085
commit 29fec15b4a

View file

@ -143,6 +143,7 @@ static void create_pixmaps()
QPainter maskPainter;
int i, x, y;
titlePix = new QPixmap(33, 12);
titlePix->fill( Qt::transparent );
QBitmap mask(33, 12);
mask.fill(Qt::color0);