From 2fcb5767d5beede82f4fcdb03d897c793b0b86f6 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Wed, 9 Sep 2009 17:14:23 +0000 Subject: [PATCH] removed unused variables svn path=/trunk/KDE/kdebase/workspace/; revision=1021627 --- clients/nitrogen/nitrogenclient.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/clients/nitrogen/nitrogenclient.cpp b/clients/nitrogen/nitrogenclient.cpp index 108bb2ffef..0eefdeb588 100644 --- a/clients/nitrogen/nitrogenclient.cpp +++ b/clients/nitrogen/nitrogenclient.cpp @@ -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);