KDE/kdebase/workspace/plasma/plasma

Marco Martin notmart at gmail.com
Sat Jul 19 16:39:50 CEST 2008


SVN commit 834730 by mart:

paint on rect, not the containment geometry that corresponds to the rect
only for tha first one.
will backport to 4.1

CCBUG: 164582
(it was actually valid)
CCMAIL: panel-devel at kde.org


 M  +1 -1      dashboardview.cpp  


--- trunk/KDE/kdebase/workspace/plasma/plasma/dashboardview.cpp #834729:834730
@@ -77,7 +77,7 @@
     if (PlasmaApp::hasComposite()) {
         setWallpaperEnabled(false);
         painter->setCompositionMode(QPainter::CompositionMode_Source);
-        painter->fillRect(geometry(), QColor(0, 0, 0, 180));
+        painter->fillRect(rect, QColor(0, 0, 0, 180));
     } else {
         setWallpaperEnabled(true);
         Plasma::View::drawBackground(painter, rect);


More information about the Panel-devel mailing list