From 86e9ab6a6b78428c27e529a6e3451749afca6f05 Mon Sep 17 00:00:00 2001 From: Luciano Montanaro Date: Thu, 27 Sep 2007 21:42:20 +0000 Subject: [PATCH] Fix the bottom window border svn path=/trunk/KDE/kdebase/workspace/; revision=718001 --- clients/kde2/kde2.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clients/kde2/kde2.cpp b/clients/kde2/kde2.cpp index 61b130c305..016ccc369d 100644 --- a/clients/kde2/kde2.cpp +++ b/clients/kde2/kde2.cpp @@ -959,16 +959,16 @@ void KDE2Client::paintEvent( QPaintEvent* ) { if(w > 50) { - qDrawShadePanel(&p, x+1, y2-grabBorderWidth+3, 2*borderWidth+12, grabBorderWidth-2, + qDrawShadePanel(&p, x+1, y2-grabBorderWidth+3, 2*borderWidth+12, grabBorderWidth-3, g, false, 1, &g.brush(QPalette::Mid)); - qDrawShadePanel(&p, x+2*borderWidth+13, y2-grabBorderWidth+3, w-4*borderWidth-26, grabBorderWidth-2, + qDrawShadePanel(&p, x+2*borderWidth+13, y2-grabBorderWidth+3, w-4*borderWidth-26, grabBorderWidth-3, g, false, 1, isActive() ? &g.brush(QPalette::Background) : &g.brush(QPalette::Mid)); - qDrawShadePanel(&p, x2-2*borderWidth-12, y2-grabBorderWidth+3, 2*borderWidth+12, grabBorderWidth-2, + qDrawShadePanel(&p, x2-2*borderWidth-12, y2-grabBorderWidth+3, 2*borderWidth+12, grabBorderWidth-3, g, false, 1, &g.brush(QPalette::Mid)); } else - qDrawShadePanel(&p, x+1, y2-grabBorderWidth+3, w-2, grabBorderWidth-2, + qDrawShadePanel(&p, x+1, y2-grabBorderWidth+3, w-2, grabBorderWidth-3, g, false, 1, isActive() ? &g.brush(QPalette::Background) : &g.brush(QPalette::Mid));