revert 803670, because a polished look is prioritized

svn path=/trunk/KDE/kdebase/workspace/; revision=831040
icc-effect-5.14.5
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