revert 803670, because a polished look is prioritized

svn path=/trunk/KDE/kdebase/workspace/; revision=831040
This commit is contained in:
Huynh Huu Long 2008-07-11 18:42:15 +00:00
parent e29b120fd7
commit 20ee14550f
2 changed files with 1 additions and 2 deletions

View file

@ -168,8 +168,6 @@ void OxygenButton::paintEvent(QPaintEvent *)
// widget->window()setPalette(pal);
helper_.renderWindowBackground(&painter, this->rect(), this, pal);
if (type_ == ButtonMenu) {
// we paint the mini icon (which is 16 pixels high)
int dx = (width() - 16) / 2;

View file

@ -90,6 +90,7 @@ void OxygenClient::init()
widget()->setAutoFillBackground(false);
widget()->setAttribute(Qt::WA_OpaquePaintEvent);
widget()->setAttribute(Qt::WA_PaintOnScreen, false); //TODO: remove this to save memory
}
bool OxygenClient::decorationBehaviour(DecorationBehaviour behaviour) const