CVS commit by antlarr: Reverting part of 1.33 to fix the problem some people have with kicker painting garbage on the background of buttons ( http://developer.kde.org/~larrosa/tmp/kicker-garbage.jpg ) It seems to work correctly with a transparent kicker too, so I suppose it's ok to revert. CCMAIL: zack@kde.org M +2 -16 panelbuttonbase.cpp 1.34 --- kdebase/kicker/buttons/panelbuttonbase.cpp #1.33:1.34 @@ -423,20 +423,6 @@ void PanelButtonBase::drawButton(QPainte if (!_bg.isNull()) p->drawPixmap(0, 0, _bg); - else { - QPixmap *pm = colorGroup().brush( QColorGroup::Background).pixmap(); - if ( pm ) { - QPixmap mbg( width(), height() ); - - QWidget *wid = static_cast(Panel::the()->containerArea()); - if ( !wid ) - kdWarning()<drawPixmap( 0, 0, mbg); - } else + else p->fillRect(rect(), colorGroup().brush(QColorGroup::Background)); - } const QPixmap& tile = (isDown() || isOn()) ? _down : _up;