From ec0c7486b7d0904c87c9f32f12fd1ee48a00b3f1 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Fri, 23 May 2008 23:35:39 +0000 Subject: [PATCH] move the checkerboard painting to DesktopView. now when we drag things around in top levels we don't see odd checkerboards =) svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811898 --- corona.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/corona.cpp b/corona.cpp index 21e711f70..67562102f 100644 --- a/corona.cpp +++ b/corona.cpp @@ -69,18 +69,6 @@ public: { configSyncTimer.setSingleShot(true); connect(&configSyncTimer, SIGNAL(timeout()), q, SLOT(syncConfig())); - - const int w = 25; - QPixmap tile(w * 2, w * 2); - tile.fill(q->palette().base().color()); - QPainter pt(&tile); - QColor color = q->palette().mid().color(); - color.setAlphaF(.6); - pt.fillRect(0, 0, w, w, color); - pt.fillRect(w, w, w, w, color); - pt.end(); - QBrush b(tile); - q->setBackgroundBrush(tile); } void saveLayout(KSharedConfigPtr cg) const