removed unused variables

svn path=/trunk/KDE/kdebase/workspace/; revision=1021627
This commit is contained in:
Hugo Pereira Da Costa 2009-09-09 17:14:23 +00:00
parent c519c41c9f
commit 2fcb5767d5

View file

@ -434,12 +434,6 @@ namespace Nitrogen
painter->setClipRegion(clipRect,Qt::IntersectClip);
}
painter->setPen( Qt::NoPen );
QColor color = palette.color(window->backgroundRole());
QColor top = helper().backgroundTopColor( color );
QColor bottom = helper().backgroundBottomColor( color );
QRect r = (isPreview()) ? NitrogenClient::widget()->rect():window->rect();
r.adjust( SHADOW_WIDTH, SHADOW_WIDTH, -SHADOW_WIDTH, -SHADOW_WIDTH );
r.adjust(0,0, 1, 1);