Fix Ozone's window blending setting.

BUG: 197269

svn path=/trunk/KDE/kdebase/workspace/; revision=984204
This commit is contained in:
Lucas Murray 2009-06-20 13:11:10 +00:00
parent 138179d06c
commit 11151655d0
2 changed files with 2 additions and 2 deletions

View file

@ -190,7 +190,7 @@ void OxygenButton::paintEvent(QPaintEvent *)
KDecorationDefines::ColorTitleBar, client_.isActive()));
}
// fill the grey square
helper_.renderWindowBackground(&painter, this->rect(), this, pal, 23 /*TODO: calculate this from layout metrics*/);
helper_.renderWindowBackground(&painter, this->rect(), this, pal2, 23 /*TODO: calculate this from layout metrics*/);
painter.setClipRect(this->rect());
// draw dividing line

View file

@ -353,7 +353,7 @@ void OxygenClient::paintEvent(QPaintEvent *e)
painter.setClipRegion(mask);
}
helper_.renderWindowBackground(&painter, frame, this->widget(), palette, SHADOW_WIDTH);
helper_.renderWindowBackground(&painter, frame, this->widget(), pal2, SHADOW_WIDTH);
if (isCompositingActive) {
painter.setClipping(false);