From kde-commits Tue Aug 31 20:14:45 2004 From: Stefan Gehn Date: Tue, 31 Aug 2004 20:14:45 +0000 To: kde-commits Subject: KDE_3_3_BRANCH: kdeaddons/kicker-applets/mediacontrol Message-Id: <20040831201445.B147C9130 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=109398330012997 CVS commit by metz: Backport Fix for bug #85135 mediacenter has distortions on buttons M +1 -1 mediacontrol.cpp 1.34.2.1 --- kdeaddons/kicker-applets/mediacontrol/mediacontrol.cpp #1.34:1.34.2.1 @@ -589,5 +589,5 @@ void TrayButton::drawButton(QPainter *p) pbg.begin(&bg); if (parentWidget() && parentWidget()->backgroundPixmap()) - pbg.drawPixmap(0, 0, *(parentWidget()->backgroundPixmap()), x(), y()); + pbg.drawTiledPixmap(0, 0, width(), height(), *(parentWidget()->backgroundPixmap()), x(), y()); else pbg.fillRect(rect(), colorGroup().brush(QColorGroup::Background));