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
This commit is contained in:
parent
590b3cebd8
commit
ec0c7486b7
12
corona.cpp
12
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
|
||||
|
Loading…
Reference in New Issue
Block a user