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:
parent
465fd0fbca
commit
a0c0e4f085
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue